Sha256: 02351ca54cb8cb3679f635115dd094f32fd91750e9f66103c1ee9ec3db507072

Contents?: true

Size: 1.17 KB

Versions: 31

Compression:

Stored size: 1.17 KB

Contents

// Translated from C to Rust. The original C code can be found at
// https://github.com/ulfjack/ryu and carries the following license:
//
// Copyright 2018 Ulf Adams
//
// The contents of this file may be used under the terms of the Apache License,
// Version 2.0.
//
//    (See accompanying file LICENSE-Apache or copy at
//     http://www.apache.org/licenses/LICENSE-2.0)
//
// Alternatively, the contents of this file may be used under the terms of
// the Boost Software License, Version 1.0.
//    (See accompanying file LICENSE-Boost or copy at
//     https://www.boost.org/LICENSE_1_0.txt)
//
// Unless required by applicable law or agreed to in writing, this software
// is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
// KIND, either express or implied.

// A table of all two-digit numbers. This is used to speed up decimal digit
// generation by copying pairs of digits into the final output.
pub static DIGIT_TABLE: [u8; 200] = *b"\
    0001020304050607080910111213141516171819\
    2021222324252627282930313233343536373839\
    4041424344454647484950515253545556575859\
    6061626364656667686970717273747576777879\
    8081828384858687888990919293949596979899";

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
wasmtime-29.0.0 ./ext/cargo-vendor/ryu-1.0.18/src/digit_table.rs
wasmtime-28.0.0 ./ext/cargo-vendor/ryu-1.0.18/src/digit_table.rs
wasmtime-27.0.0 ./ext/cargo-vendor/ryu-1.0.18/src/digit_table.rs
wasmtime-26.0.0 ./ext/cargo-vendor/ryu-1.0.18/src/digit_table.rs
wasmtime-25.0.2 ./ext/cargo-vendor/ryu-1.0.18/src/digit_table.rs
wasmtime-25.0.1 ./ext/cargo-vendor/ryu-1.0.18/src/digit_table.rs
wasmtime-25.0.0 ./ext/cargo-vendor/ryu-1.0.18/src/digit_table.rs
wasmtime-24.0.0 ./ext/cargo-vendor/ryu-1.0.18/src/digit_table.rs
wasmtime-23.0.2 ./ext/cargo-vendor/ryu-1.0.16/src/digit_table.rs
wasmtime-22.0.0 ./ext/cargo-vendor/ryu-1.0.16/src/digit_table.rs
wasmtime-21.0.1 ./ext/cargo-vendor/ryu-1.0.16/src/digit_table.rs
wasmtime-20.0.2 ./ext/cargo-vendor/ryu-1.0.16/src/digit_table.rs
wasmtime-20.0.0 ./ext/cargo-vendor/ryu-1.0.16/src/digit_table.rs
wasmtime-18.0.3 ./ext/cargo-vendor/ryu-1.0.16/src/digit_table.rs
wasmtime-17.0.1 ./ext/cargo-vendor/ryu-1.0.16/src/digit_table.rs
wasmtime-17.0.0 ./ext/cargo-vendor/ryu-1.0.16/src/digit_table.rs
wasmtime-16.0.0 ./ext/cargo-vendor/ryu-1.0.16/src/digit_table.rs
wasmtime-15.0.1 ./ext/cargo-vendor/ryu-1.0.16/src/digit_table.rs
wasmtime-15.0.0 ./ext/cargo-vendor/ryu-1.0.16/src/digit_table.rs
wasmtime-14.0.4 ./ext/cargo-vendor/ryu-1.0.15/src/digit_table.rs