Benign freebsd-ports Download

base32.c

Source contains an unconditional loopimports base32.h
SHA-25629ef47774b66a596baa6bc815cf319249a135ebfd2104ed1b2b0a4e2ba2dbf8a

Evidence

English function-word token "the" lines 2–7
2:37… 6, 2009-2024 Free Software Foundation, Inc.
3
4 This file is free software: you can redistribute it and/or modify
5 it under the terms of the GNU Lesser General Public License as
6 published by the Free Software Foundation; either version 2.1 of the
7 License, or (at y …
English function-word token "that" lines 7–17
7:45… rsion.
8
9 This file is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU Lesser General Public License for more details.
13
14 You should have received a copy of the GNU Lesser General Public License
15 along with this program. If not, see <https://www.gnu.org/licenses/>. */
16
17/* Adapted from Simon Josefsso …
imports base32.h lines 35–55
35:22… ocation error
36 * OK: data in OUT/OUTLEN.
37 *
38 */
39
40#include <config.h>
41
42/* Get prototype. */
43#define BASE32_INLINE _GL_EXTERN_INLINE
44#include "base32.h"
45
46/* Get imalloc. */
47#include <ialloc.h>
48
49#include <intprops.h>
50
51#include <string.h>
52
53/* Convert 'char' to 'unsigned char' without casting. */
54static unsigned char
55to_uchar (char …
C declares a character or byte buffer lines 66–78
66:3… char *restrict out, idx_t outlen)
67{
68 static const char b32str[32] =
69 "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567";
70
⋯8 lines

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.