Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PlummersSoftwareLLC/Primes
/ functions
Functions
1,590 in github.com/PlummersSoftwareLLC/Primes
⨍
Functions
1,590
◇
Types & classes
355
↓ 3 callers
Function
countPrimes
Count all set bits in pSieve->buffer
PrimeC/solution_4/sieve.c:221
↓ 3 callers
Function
deepAnalyzeSieve
PrimeC/solution_5/src/benchmark/sieve_check.h:24
↓ 3 callers
Method
flag_count
(&self)
PrimeRust/solution_5/src/sieve/flag_data/bit.rs:42
↓ 3 callers
Function
getBit
PrimeC/solution_3/primes_striped-block.c:71
↓ 3 callers
Method
getConfig
PrimeCPP/solution_4/algorithms.hpp:66
↓ 3 callers
Function
getSystemTimeMillis
PrimeKotlin/solution_1/src/commonMain/kotlin/main.kt:6
↓ 3 callers
Method
makeIdx
PrimeCPP/solution_4/storages.hpp:236
↓ 3 callers
Function
parse_as_usize
(expr: &Expr)
PrimeRust/solution_1/helper-macros/src/lib.rs:12
↓ 3 callers
Method
print_results
Displays the primes found (or just the total count, depending on what you ask for)
PrimePython/solution_3/PrimePY.py:81
↓ 3 callers
Method
reset_flags
(&mut self, skip: usize)
PrimeRust/solution_1/prime-sieve-rust/src/main.rs:107
↓ 3 callers
Method
run
### Run sieve wheel > Runs the wheel sieving algorithm. When done, the `wheel` data structure marks all primes in range.
PrimeRust/solution_7/src/wheel_sieve.rs:57
↓ 3 callers
Method
runSieve
()
PrimeJava/solution_4/src/PrimeSieveBase.java:53
↓ 3 callers
Method
runSieve
PrimeCPP/solution_2/PrimeCPP_array.cpp:97
↓ 3 callers
Method
runSieve
PrimeCPP/solution_2/PrimeCPP_mask.cpp:150
↓ 3 callers
Method
runSieve
PrimeCPP/solution_5/PrimeCPP_array.cpp:679
↓ 3 callers
Function
runTest
PrimeKotlin/solution_1/src/commonMain/kotlin/main.kt:37
↓ 3 callers
Function
run_sieve
PrimeC/solution_2/sieve_1of2.c:36
↓ 3 callers
Method
run_sieve
(&mut self)
PrimeRust/solution_1/prime-sieve-rust/src/main.rs:620
↓ 3 callers
Function
setBitsTrue
PrimeC/solution_5/src/bitstorage/bitstorage_setBitsTrue.h:58
↓ 3 callers
Method
start
()
PrimeJava/solution_4/src/PrimeSieveBase.java:165
↓ 3 callers
Function
stripeSieveBlock0
PrimeC/solution_5/src/sieve/sieve_stripe.h:26
↓ 3 callers
Method
testBitTrue
(index)
PrimeJavaScript/solution_1/PrimeJavaScript.js:107
↓ 2 callers
Method
CountPrimes
()
PrimeMixed/solution_1/sieve_cgo.go:80
↓ 2 callers
Method
Find
(val bool, start, stop uint64)
PrimeGo/solution_2/storage.go:14
↓ 2 callers
Method
GetBit
(this, index)
PrimePython/solution_1/PrimePY.py:47
↓ 2 callers
Method
GetFoundPrimes
()
PrimeCSharp/solution_1/V2Sieves/Bit2Sieve.cs:39
↓ 2 callers
Method
Length
()
PrimeGo/solution_2/storage.go:16
↓ 2 callers
Method
Run
Run runs all bencmarks from the provided slice and outputs their results
PrimeGo/solution_2/dragrace.go:86
↓ 2 callers
Method
RunBenchmark
(string version, string? option)
PrimeCSharp/solution_1/Benchmarks/Benchmarker.cs:7
↓ 2 callers
Function
Sq
Sq calculate the index of the square of Pr(i). Sq(i) = In(Pr(i)*Pr(i)) It is used to establish the slices like [n,n^2) that are filled consecutively b
PrimeGo/solution_4/main.go:53
↓ 2 callers
Function
calculate_block_offset
(start_index: usize, offset: usize, prime: usize)
PrimeRust/solution_5/src/sieve/algorithm.rs:32
↓ 2 callers
Function
checkSetBitsTrueMethod
PrimeC/solution_5/src/benchmark/sieve_checkFunctions.h:55
↓ 2 callers
Function
checkSetBitsTrueMethods
PrimeC/solution_5/src/benchmark/sieve_checkFunctions.h:84
↓ 2 callers
Method
clear
PrimeKotlin/solution_1/src/commonMain/kotlin/PrimeSieveIdiomatic.kt:20
↓ 2 callers
Function
clipnewline
PrimeMinecraftDatapack/solution_1/playio.c:236
↓ 2 callers
Method
clrMults
(factor, blockStart, blockEnd uint64)
PrimeGo/solution_2/sieve.go:79
↓ 2 callers
Method
count
()
PrimeJava/solution_1/PrimeSieveJava.java:28
↓ 2 callers
Function
countPrimes
PrimeCPP/solution_3/PrimeCPP_CONSTEXPR.cpp:44
↓ 2 callers
Method
countPrimes
()
PrimeJava/solution_4/src/PrimeSieveBase.java:42
↓ 2 callers
Method
countPrimes
(this)
PrimePython/solution_1/PrimePY.py:81
↓ 2 callers
Method
countPrimes
()
PrimeAssemblyScript/solution_2/src/unrolled/sieve.ts:100
↓ 2 callers
Method
countPrimes
()
PrimeAssemblyScript/solution_2/src/orig/sieve.ts:76
↓ 2 callers
Method
countPrimes
()
PrimeAssemblyScript/solution_1/src/sieve.ts:72
↓ 2 callers
Method
countPrimes
()
PrimeTypeScript/solution_2/src/index.ts:67
↓ 2 callers
Method
countPrimes
()
PrimeTypeScript/solution_1/src/index.ts:67
↓ 2 callers
Method
countPrimes
()
PrimeGo/solution_1/main.go:52
↓ 2 callers
Method
count_primes
(&self)
PrimeRust/solution_6/src/multithreaded.rs:182
↓ 2 callers
Method
count_primes
(&mut self)
PrimeRust/solution_6/src/singlethreaded.rs:130
↓ 2 callers
Method
count_primes
PrimeRuby/solution_2/prime.rb:57
↓ 2 callers
Function
deepAnalyzeWithBenchmarkSettings
PrimeC/solution_5/src/benchmark/sieve_validate.h:1
↓ 2 callers
Function
execute
Consteval in order to force clang to always optimize. Gcc consistently does so with constexpr and inside the body.
PrimeCPP/solution_3/PrimeCPP_CONSTEXPR.cpp:94
↓ 2 callers
Function
extendSieveBlock0
returns prime that could not be handled: start is too large range is too big block stop should not exceed sieve size for faster handling
PrimeC/solution_5/src/sieve/sieve_extend.h:5
↓ 2 callers
Function
extreme_reset_word
Retrieves single word, then applies each single-bit mask in turn. When all masks have been applied, write the word back to the slice.
PrimeRust/solution_1/helper-macros/src/lib.rs:231
↓ 2 callers
Function
freeSieve
Free up resources for sieve object
PrimeC/solution_1/sieve.c:216
↓ 2 callers
Method
getBit
(int index)
PrimeJava/solution_4/src/PrimeSieveBase.java:50
↓ 2 callers
Method
getBit
(final int index)
PrimeJava/solution_2/src/PrimeSieveJavaBitSet.java:91
↓ 2 callers
Method
getBit
(int index)
PrimeJava/solution_3/PrimeSieveJava.java:48
↓ 2 callers
Method
getBitCount
PrimeCPP/solution_4/storages.hpp:234
↓ 2 callers
Method
getPrimeCount
()
PrimeJavaScript/solution_2/PrimeJavaScript_extreme_sieve.js:39
↓ 2 callers
Function
getTimeDiffInMs
(float $tStart)
PrimePHP/solution_1/PrimePHP.php:126
↓ 2 callers
Function
get_bit
PrimeMixed/solution_4/c_library/c_sieve.c:19
↓ 2 callers
Function
initBenchmarkSettings
prepare the benchmark settings using defaults
PrimeC/solution_5/src/benchmark/sieve_benchmark.h:2
↓ 2 callers
Method
is_num_flagged
(&self, number: usize)
PrimeRust/solution_1/prime-sieve-rust/src/main.rs:603
↓ 2 callers
Function
listSetBitsTrueMethods
PrimeC/solution_5/src/benchmark/sieve_benchmarkFunctions.h:14
↓ 2 callers
Function
local_memcpy
PrimeC/solution_5/src/generic/helpers.h:30
↓ 2 callers
Function
memCpy
PrimeC/solution_4/sieve.c:57
↓ 2 callers
Function
minimum_start
Minimum start for resetting bits -- this is the earliest reset we can apply without clobbering the factor itself
PrimeRust/solution_1/prime-sieve-rust/src/main.rs:90
↓ 2 callers
Function
nextPrime
Search the bit array for the next set bit, which corresponds to the next prime
PrimeC/solution_4/sieve.c:92
↓ 2 callers
Function
pattern_equivalent_skip
Calculate the equivalent (base) skip factor that will yield the same modulo pattern as a higher skip factor, for a given number of bits. They are peri
PrimeRust/solution_1/prime-sieve-rust/src/unrolled.rs:74
↓ 2 callers
Function
playStepplan
PrimeC/solution_5/src/benchmark/sieve_benchmarkFunctions.h:110
↓ 2 callers
Method
printResults
(title: string, data: Result[])
tools/src/formatters/table.ts:23
↓ 2 callers
Method
printResults
(double duration, int passes, SieveArgs args)
PrimeJava/solution_4/src/PrimeSieveBase.java:62
↓ 2 callers
Function
printStripePasses
PrimeC/solution_5/src/benchmark/sieve_benchmarkFunctions.h:21
↓ 2 callers
Function
print_header
## Print header > Helper function that displays information about a run.
PrimeRust/solution_7/src/main.rs:8
↓ 2 callers
Method
print_results
Displays the primes found (or just the total count, depending on what you ask for)
PrimePython/solution_2/PrimePY.py:82
↓ 2 callers
Function
print_results_stderr
print results to console stderr for good feedback
PrimeRust/solution_1/prime-sieve-rust/src/main.rs:649
↓ 2 callers
Function
print_timing_table
PrimeC/solution_5/src/benchmark/sieve_timers.h:85
↓ 2 callers
Function
processTemplate
(out io.Writer, path string, conf interface{})
PrimeGo/solution_2/tools/typegen.go:86
↓ 2 callers
Function
read_memdump
(argv, default_fn="fullmem_dump.bin")
Prime6502Assembly/solution_4/memdump_utils.py:3
↓ 2 callers
Method
render
(report: Report)
tools/src/formatter.ts:4
↓ 2 callers
Function
report_results_stdout
print correctly-formatted results to `stderr` as per CONTRIBUTING.md - format is <name>;<iterations>;<total_time>;<num_threads>
PrimeRust/solution_1/prime-sieve-rust/src/main.rs:686
↓ 2 callers
Function
requestPower
PrimeC/solution_5/src/benchmark/sieve_benchmark.h:69
↓ 2 callers
Method
reset_flags_general
(&mut self, skip: usize)
PrimeRust/solution_1/prime-sieve-rust/src/main.rs:476
↓ 2 callers
Function
run
PrimeCPP/solution_3/PrimeCPP_CONSTEXPR.cpp:100
↓ 2 callers
Method
runArray
()
PrimeJava/solution_1/PrimeSieveJava.java:49
↓ 2 callers
Method
runBitSet
()
PrimeJava/solution_1/PrimeSieveJava.java:60
↓ 2 callers
Method
runSieve
PrimeCPP/solution_4/algorithms.hpp:41
↓ 2 callers
Method
runSieve
()
PrimeJavaScript/solution_2/PrimeJavaScript_sniper.js:48
↓ 2 callers
Method
runSieve
()
PrimeJavaScript/solution_2/PrimeJavaScript_extreme_sieve.js:44
↓ 2 callers
Method
runSieve
()
PrimeJavaScript/solution_1/PrimeSieve.mjs:45
↓ 2 callers
Method
runSieve
()
PrimeJavaScript/solution_1/PrimeJavaScript.js:136
↓ 2 callers
Method
runSieve
()
PrimeJavaScript/solution_1/PrimeJavaScript_memcopy.js:193
↓ 2 callers
Method
runSieve_base
()
PrimeJavaScript/solution_1/PrimeJavaScript_cluster.js:194
↓ 2 callers
Method
runSieve_memcopy
()
PrimeJavaScript/solution_1/PrimeJavaScript_cluster.js:209
↓ 2 callers
Method
runSingle
(Supplier<PrimeSieveBase> factory, SieveArgs args)
PrimeJava/solution_4/src/PrimeSieveBase.java:112
↓ 2 callers
Function
run_implementation
## Run Implementation > Helper function that spawns threads, runs the algorithm, collects the results and displays the output.
PrimeRust/solution_7/src/main.rs:34
↓ 2 callers
Method
run_sieve
Calculate the primes up to the specified limit
PrimePython/solution_3/PrimePY_numba.py:63
↓ 2 callers
Method
run_sieve_numo
PrimeRuby/solution_2/prime.rb:13
↓ 2 callers
Function
run_timed_sieve
Purpose: Run the sieve in a loop until the maximum specified time */
PrimeC/solution_3/primes_words.c:404
↓ 2 callers
Function
run_timed_sieve
PrimeC/solution_3/primes_striped-block.c:245
← previous
next →
101–200 of 1,590, ranked by callers