Sha256: 2db04c069493ba123fe68d4a0ca4f4b850378412d8e5edf2ef47887a81409cc1

Contents?: true

Size: 163 Bytes

Versions: 103

Compression:

Stored size: 163 Bytes

Contents

#include "file_format.h"

inline uint32_t padding_length(uint32_t key_length) {
    return 8 - (sizeof(uint32_t) + key_length) % 8;  // padding | 8 byte aligned
}

Version data entries

103 entries across 103 versions & 1 rubygems

Version Path
prometheus-client-mmap-0.26.0 ext/fast_mmaped_file/file_format.c
prometheus-client-mmap-0.26.0-x86_64-linux ext/fast_mmaped_file/file_format.c
prometheus-client-mmap-0.26.0-x86_64-darwin ext/fast_mmaped_file/file_format.c
prometheus-client-mmap-0.26.0-arm64-darwin ext/fast_mmaped_file/file_format.c
prometheus-client-mmap-0.26.0-aarch64-linux ext/fast_mmaped_file/file_format.c
prometheus-client-mmap-0.25.0 ext/fast_mmaped_file/file_format.c
prometheus-client-mmap-0.25.0-x86_64-linux ext/fast_mmaped_file/file_format.c
prometheus-client-mmap-0.25.0-x86_64-darwin ext/fast_mmaped_file/file_format.c
prometheus-client-mmap-0.25.0-arm64-darwin ext/fast_mmaped_file/file_format.c
prometheus-client-mmap-0.25.0-aarch64-linux ext/fast_mmaped_file/file_format.c
prometheus-client-mmap-0.24.5 ext/fast_mmaped_file/file_format.c
prometheus-client-mmap-0.24.5-x86_64-linux ext/fast_mmaped_file/file_format.c
prometheus-client-mmap-0.24.5-x86_64-darwin ext/fast_mmaped_file/file_format.c
prometheus-client-mmap-0.24.5-arm64-darwin ext/fast_mmaped_file/file_format.c
prometheus-client-mmap-0.24.5-aarch64-linux ext/fast_mmaped_file/file_format.c
prometheus-client-mmap-0.24.4 ext/fast_mmaped_file/file_format.c
prometheus-client-mmap-0.24.4-x86_64-linux ext/fast_mmaped_file/file_format.c
prometheus-client-mmap-0.24.4-x86_64-darwin ext/fast_mmaped_file/file_format.c
prometheus-client-mmap-0.24.4-arm64-darwin ext/fast_mmaped_file/file_format.c
prometheus-client-mmap-0.24.4-aarch64-linux ext/fast_mmaped_file/file_format.c