Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PlummersSoftwareLLC/Primes
/ types & classes
Types & classes
355 in github.com/PlummersSoftwareLLC/Primes
⨍
Functions
1,590
◇
Types & classes
355
↓ 36 callers
Class
PrimeSieve
This is the main PrimeSieve class. Call it with the number you wish as an upper limit, then call the run_sieve method to do the calculation. p
PrimePython/solution_2/PrimePY.py:11
↓ 36 callers
Class
PrimeSieve
This is the main PrimeSieve class. Call it with the number you wish as an upper limit, then call the run_sieve method to do the calculation. p
PrimePython/solution_3/PrimePY.py:13
↓ 36 callers
Class
PrimeSieve
This is the main PrimeSieve class. Call it with the number you wish as an upper limit, then call the run_sieve method to do the calculation. p
PrimePython/solution_3/PrimePY_numba.py:36
↓ 3 callers
Class
IterationResult
PrimeKotlin/solution_1/src/commonMain/kotlin/main.kt:28
↓ 3 callers
Class
block
PrimeC/solution_5/src/sieve/sieve_extend.h:45
↓ 2 callers
Class
BitReference
PrimeCPP/solution_4/storages.hpp:158
↓ 2 callers
Class
prime_sieve
PrimeCPP/solution_2/PrimeCPP_array.cpp:76
↓ 2 callers
Class
prime_sieve
PrimeCPP/solution_2/PrimeCPP_mask.cpp:129
↓ 2 callers
Class
prime_sieve
PrimeCPP/solution_5/PrimeCPP_array.cpp:658
↓ 1 callers
Class
FlagData
A generic flag data struct that is used for each storage and element data type.
PrimeRust/solution_5/src/sieve/flag_data.rs:56
↓ 1 callers
Class
FlagStorageByteVector
Storage using a simple vector of bytes. Doing the same with bools is equivalent, as bools are currently represented as bytes in Rust. However, this is
PrimeRust/solution_1/prime-sieve-rust/src/main.rs:99
↓ 1 callers
Class
PrimeSieve
PrimeJavaScript/solution_1/PrimeSieve.mjs:36
↓ 1 callers
Class
PrimeSieveIdiomatic
PrimeKotlin/solution_1/src/commonMain/kotlin/PrimeSieveIdiomatic.kt:3
↓ 1 callers
Class
PrimeSieveIdiomaticFast
PrimeKotlin/solution_1/src/commonMain/kotlin/PrimeSieveIdiomaticFast.kt:3
↓ 1 callers
Class
PrimeSieveTraditional
PrimeKotlin/solution_1/src/commonMain/kotlin/PrimeSieveTraditional.kt:3
↓ 1 callers
Class
PrimeValidator
Validator to compare against known primes. Pulled this out into a separate struct, as it's defined `const` in C++. There are various ways to do this i
PrimeRust/solution_1/prime-sieve-rust/src/main.rs:31
↓ 1 callers
TypeAlias
Sieve
Sieve variable represents the sieve of Eratosthenes for all odd numbers bigger than 3. For variable sieve of type Sieve the value sieve[i] is false if
PrimeGo/solution_4/main.go:28
↓ 1 callers
Class
SieveMap
PrimeKotlin/solution_1/src/commonMain/kotlin/SieveMap.kt:5
↓ 1 callers
Class
StridedBitReference
PrimeCPP/solution_4/storages.hpp:421
↓ 1 callers
Class
prime_sieve
PrimePython/solution_1/PrimePY.py:16
↓ 1 callers
Class
stat
PrimeBrainFuck/solution_1/PrimeBrainFuck.cpp:88
Class
tools/src/formatter_factory.ts:8
Class
tools/src/formatters/text.ts:4
Class
tools/src/formatters/minifiedjson.ts:4
Class
tools/src/formatters/json.ts:4
Class
tools/src/formatters/table.ts:5
Class
tools/src/formatters/chart.ts:6
Class
tools/src/services/report.ts:6
Class
tools/src/services/docker.ts:3
Class
PrimeAssemblyScript/solution_2/src/unrolled/sieve.ts:5
Class
PrimeAssemblyScript/solution_2/src/orig/sieve.ts:5
Class
PrimeAssemblyScript/solution_1/src/sieve.ts:1
Class
PrimeTypeScript/solution_2/src/BitNumArray.ts:3
Class
PrimeTypeScript/solution_2/src/Bit8Array.ts:3
Class
PrimeTypeScript/solution_2/src/index.ts:20
Class
PrimeTypeScript/solution_2/src/Bit32Array.ts:3
Class
PrimeTypeScript/solution_2/src/BitByteArray.ts:3
Class
PrimeTypeScript/solution_1/src/index.ts:14
Class
PrimeJavaScript/solution_2/PrimeJavaScript_sniper.js:41
Class
PrimeJavaScript/solution_2/PrimeJavaScript_extreme_sieve.js:27
Class
PrimeJavaScript/solution_1/PrimeSieve.mjs:14
Class
PrimeJavaScript/solution_1/PrimeSieve.mjs:36
Class
PrimeJavaScript/solution_1/PrimeJavaScript.js:48
Class
PrimeJavaScript/solution_1/PrimeJavaScript.js:127
Class
PrimeJavaScript/solution_1/PrimeJavaScript_memcopy.js:49
Class
PrimeJavaScript/solution_1/PrimeJavaScript_memcopy.js:186
Class
PrimeJavaScript/solution_1/PrimeJavaScript_cluster.js:49
Class
PrimeJavaScript/solution_1/PrimeJavaScript_cluster.js:187
Interface
Algorithm
Defines an algorithm (and optional execution parameters) for sieve execution.
PrimeRust/solution_5/src/sieve/algorithm.rs:14
Enum
AllocationKind
PrimeCPP/solution_5/PrimeCPP_array.cpp:94
Class
Arguments
PrimeRust/solution_5/src/main.rs:138
Class
ArrayStorage
PrimeCPP/solution_4/storages.hpp:104
Struct
BaseSieve
PrimeGo/solution_2/sieve.go:16
Struct
Benchmark
Benchmark represents all necessary info to benchmark a sieve implementation
PrimeGo/solution_2/benchmark.go:22
Class
BenchmarkMods
PrimeCSharp/solution_1/Benchmarks/BenchmarkMods.cs:6
Class
BenchmarkOfN
PrimeCSharp/solution_1/Benchmarks/BenchmarkOfN.cs:11
Class
BenchmarkPar
PrimeCSharp/solution_1/Benchmarks/BenchmarkPar.cs:11
Class
BenchmarkRef
PrimeCSharp/solution_1/Benchmarks/BenchmarkRef.cs:11
Struct
BenchmarkResult
BenchmarkResult represents all necessary info to output and validate benchmark results
PrimeGo/solution_2/benchmark.go:31
Class
BenchmarkV1Sieves
PrimeCSharp/solution_1/Benchmarks/BenchmarkV1Sieves.cs:8
Class
BenchmarkV2Sieves
PrimeCSharp/solution_1/Benchmarks/BenchmarkV2Sieves.cs:6
Class
Benchmarker
PrimeCSharp/solution_1/Benchmarks/Benchmarker.cs:5
Class
Bit
Marker for bit handling of flag data. Sieving functions as normal, each flag only occupies one bit so the data is effectively compressed to the minim
PrimeRust/solution_5/src/sieve/flag_data/bit.rs:12
Class
Bit2Sieve
PrimeCSharp/solution_1/V2Sieves/Bit2Sieve.cs:7
Class
Bit2WhileSieve
PrimeCSharp/solution_1/V2Sieves/Bit2WhileSieve.cs:7
Class
Bit30Sieve
PrimeCSharp/solution_1/V2Sieves/Bit30Sieve.cs:7
Class
Bit32Array
PrimeTypeScript/solution_2/src/Bit32Array.ts:3
Class
Bit6Sieve
PrimeCSharp/solution_1/V2Sieves/Bit6Sieve.cs:7
Class
Bit8Array
PrimeTypeScript/solution_2/src/Bit8Array.ts:3
Class
BitArray
PrimeCPP/solution_2/PrimeCPP_array.cpp:26
Class
BitArray
PrimeCPP/solution_2/PrimeCPP_mask.cpp:26
Class
BitArray
PrimeCPP/solution_1/PrimeCPP.cpp:18
Class
BitArray
PrimeCPP/solution_5/PrimeCPP_array.cpp:89
Class
BitArray
PrimeJavaScript/solution_1/PrimeSieve.mjs:14
Class
BitArray
PrimeJavaScript/solution_1/PrimeJavaScript.js:48
Class
BitArray
PrimeJavaScript/solution_1/PrimeJavaScript_cluster.js:49
Class
BitByteArray
PrimeTypeScript/solution_2/src/BitByteArray.ts:3
Class
BitNumArray
PrimeTypeScript/solution_2/src/BitNumArray.ts:3
Class
BitReference
PrimeCPP/solution_4/storages.hpp:269
Class
BitStorage
PrimeCPP/solution_4/storages.hpp:152
Struct
BlockStorage
BlockStorage wraps a storage type to make the SetRange method more cpu cache-friendly
PrimeGo/solution_2/storage.go:25
Class
Bool
Marker for boolean (element) handling of flag data. Sieving works as normal, each flag occupies one element. This is the most straight-forward or nai
PrimeRust/solution_5/src/sieve/flag_data/bool.rs:10
Class
Bool2Sieve
PrimeCSharp/solution_1/V2Sieves/Bool2Sieve.cs:6
Class
Bool2WhileSieve
PrimeCSharp/solution_1/V2Sieves/Bool2WhileSieve.cs:6
Class
Bool30Sieve
PrimeCSharp/solution_1/V2Sieves/Bool30Sieve.cs:7
Class
Bool6Sieve
PrimeCSharp/solution_1/V2Sieves/Bool6Sieve.cs:7
Class
ChartFormatter
tools/src/formatters/chart.ts:6
Class
CommandLineOptions
PrimeRust/solution_1/prime-sieve-rust/src/main.rs:707
Class
Config
PrimeCPP/solution_4/algorithms.hpp:21
Interface
CpuInfo
tools/src/models.ts:23
Class
CsvFormatter
tools/src/formatters/text.ts:4
Interface
DataType
Generic data type for use as flag data. This only provides enough information for use with an interior integer type. Most flag data implementations h
PrimeRust/solution_5/src/data_type.rs:9
Interface
DockerInfo
tools/src/models.ts:83
Class
DockerService
tools/src/services/docker.ts:3
Struct
DragRaceRunner
DragRaceRunner provides high-level interface for running benchmarks and outputting their results.
PrimeGo/solution_2/dragrace.go:64
Enum
DynStride
PrimeCPP/solution_4/algorithms.hpp:103
Class
ElementReference
PrimeCPP/solution_4/storages.hpp:52
Class
ElementReference
PrimeCPP/solution_4/storages.hpp:107
Class
ExtremeResetParams
PrimeRust/solution_1/helper-macros/src/lib.rs:255
Struct
FactoryProps
PrimeGo/solution_2/main.go:12
next →
1–100 of 355, ranked by callers