Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Linux/lib/math/     Datei vom 24.10.2025 mit Größe 359 B image not shown  

Quelle  prime_numbers_private.h   Sprache: C

 

/* SPDX-License-Identifier: GPL-2.0 */

#include <linux/types.h>

struct primes {
 struct rcu_head rcu;
 unsigned long last, sz;
 unsigned long primes[];
};

#if IS_ENABLED(CONFIG_PRIME_NUMBERS_KUNIT_TEST)
typedef void (*primes_fn)(void *, const struct primes *);

void with_primes(void *ctx, primes_fn fn);
bool slow_is_prime_number(unsigned long x);
#endif

Messung
CHZG
969610097

¤ Dauer der Verarbeitung: 0.4 Sekunden  ¤

*© Formatika GbR, Deutschland