MCPcopy Create free account

hub / github.com/PlummersSoftwareLLC/Primes / functions

Functions1,590 in github.com/PlummersSoftwareLLC/Primes

↓ 3 callersFunctioncountPrimes
Count all set bits in pSieve->buffer
PrimeC/solution_4/sieve.c:221
↓ 3 callersFunctiondeepAnalyzeSieve
PrimeC/solution_5/src/benchmark/sieve_check.h:24
↓ 3 callersMethodflag_count
(&self)
PrimeRust/solution_5/src/sieve/flag_data/bit.rs:42
↓ 3 callersFunctiongetBit
PrimeC/solution_3/primes_striped-block.c:71
↓ 3 callersMethodgetConfig
PrimeCPP/solution_4/algorithms.hpp:66
↓ 3 callersFunctiongetSystemTimeMillis
PrimeKotlin/solution_1/src/commonMain/kotlin/main.kt:6
↓ 3 callersMethodmakeIdx
PrimeCPP/solution_4/storages.hpp:236
↓ 3 callersFunctionparse_as_usize
(expr: &Expr)
PrimeRust/solution_1/helper-macros/src/lib.rs:12
↓ 3 callersMethodprint_results
Displays the primes found (or just the total count, depending on what you ask for)
PrimePython/solution_3/PrimePY.py:81
↓ 3 callersMethodreset_flags
(&mut self, skip: usize)
PrimeRust/solution_1/prime-sieve-rust/src/main.rs:107
↓ 3 callersMethodrun
### 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 callersMethodrunSieve
()
PrimeJava/solution_4/src/PrimeSieveBase.java:53
↓ 3 callersMethodrunSieve
PrimeCPP/solution_2/PrimeCPP_array.cpp:97
↓ 3 callersMethodrunSieve
PrimeCPP/solution_2/PrimeCPP_mask.cpp:150
↓ 3 callersMethodrunSieve
PrimeCPP/solution_5/PrimeCPP_array.cpp:679
↓ 3 callersFunctionrunTest
PrimeKotlin/solution_1/src/commonMain/kotlin/main.kt:37
↓ 3 callersFunctionrun_sieve
PrimeC/solution_2/sieve_1of2.c:36
↓ 3 callersMethodrun_sieve
(&mut self)
PrimeRust/solution_1/prime-sieve-rust/src/main.rs:620
↓ 3 callersFunctionsetBitsTrue
PrimeC/solution_5/src/bitstorage/bitstorage_setBitsTrue.h:58
↓ 3 callersMethodstart
()
PrimeJava/solution_4/src/PrimeSieveBase.java:165
↓ 3 callersFunctionstripeSieveBlock0
PrimeC/solution_5/src/sieve/sieve_stripe.h:26
↓ 3 callersMethodtestBitTrue
(index)
PrimeJavaScript/solution_1/PrimeJavaScript.js:107
↓ 2 callersMethodCountPrimes
()
PrimeMixed/solution_1/sieve_cgo.go:80
↓ 2 callersMethodFind
(val bool, start, stop uint64)
PrimeGo/solution_2/storage.go:14
↓ 2 callersMethodGetBit
(this, index)
PrimePython/solution_1/PrimePY.py:47
↓ 2 callersMethodGetFoundPrimes
()
PrimeCSharp/solution_1/V2Sieves/Bit2Sieve.cs:39
↓ 2 callersMethodLength
()
PrimeGo/solution_2/storage.go:16
↓ 2 callersMethodRun
Run runs all bencmarks from the provided slice and outputs their results
PrimeGo/solution_2/dragrace.go:86
↓ 2 callersMethodRunBenchmark
(string version, string? option)
PrimeCSharp/solution_1/Benchmarks/Benchmarker.cs:7
↓ 2 callersFunctionSq
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 callersFunctioncalculate_block_offset
(start_index: usize, offset: usize, prime: usize)
PrimeRust/solution_5/src/sieve/algorithm.rs:32
↓ 2 callersFunctioncheckSetBitsTrueMethod
PrimeC/solution_5/src/benchmark/sieve_checkFunctions.h:55
↓ 2 callersFunctioncheckSetBitsTrueMethods
PrimeC/solution_5/src/benchmark/sieve_checkFunctions.h:84
↓ 2 callersMethodclear
PrimeKotlin/solution_1/src/commonMain/kotlin/PrimeSieveIdiomatic.kt:20
↓ 2 callersFunctionclipnewline
PrimeMinecraftDatapack/solution_1/playio.c:236
↓ 2 callersMethodclrMults
(factor, blockStart, blockEnd uint64)
PrimeGo/solution_2/sieve.go:79
↓ 2 callersMethodcount
()
PrimeJava/solution_1/PrimeSieveJava.java:28
↓ 2 callersFunctioncountPrimes
PrimeCPP/solution_3/PrimeCPP_CONSTEXPR.cpp:44
↓ 2 callersMethodcountPrimes
()
PrimeJava/solution_4/src/PrimeSieveBase.java:42
↓ 2 callersMethodcountPrimes
(this)
PrimePython/solution_1/PrimePY.py:81
↓ 2 callersMethodcountPrimes
()
PrimeAssemblyScript/solution_2/src/unrolled/sieve.ts:100
↓ 2 callersMethodcountPrimes
()
PrimeAssemblyScript/solution_2/src/orig/sieve.ts:76
↓ 2 callersMethodcountPrimes
()
PrimeAssemblyScript/solution_1/src/sieve.ts:72
↓ 2 callersMethodcountPrimes
()
PrimeTypeScript/solution_2/src/index.ts:67
↓ 2 callersMethodcountPrimes
()
PrimeTypeScript/solution_1/src/index.ts:67
↓ 2 callersMethodcountPrimes
()
PrimeGo/solution_1/main.go:52
↓ 2 callersMethodcount_primes
(&self)
PrimeRust/solution_6/src/multithreaded.rs:182
↓ 2 callersMethodcount_primes
(&mut self)
PrimeRust/solution_6/src/singlethreaded.rs:130
↓ 2 callersMethodcount_primes
PrimeRuby/solution_2/prime.rb:57
↓ 2 callersFunctiondeepAnalyzeWithBenchmarkSettings
PrimeC/solution_5/src/benchmark/sieve_validate.h:1
↓ 2 callersFunctionexecute
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 callersFunctionextendSieveBlock0
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 callersFunctionextreme_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 callersFunctionfreeSieve
Free up resources for sieve object
PrimeC/solution_1/sieve.c:216
↓ 2 callersMethodgetBit
(int index)
PrimeJava/solution_4/src/PrimeSieveBase.java:50
↓ 2 callersMethodgetBit
(final int index)
PrimeJava/solution_2/src/PrimeSieveJavaBitSet.java:91
↓ 2 callersMethodgetBit
(int index)
PrimeJava/solution_3/PrimeSieveJava.java:48
↓ 2 callersMethodgetBitCount
PrimeCPP/solution_4/storages.hpp:234
↓ 2 callersMethodgetPrimeCount
()
PrimeJavaScript/solution_2/PrimeJavaScript_extreme_sieve.js:39
↓ 2 callersFunctiongetTimeDiffInMs
(float $tStart)
PrimePHP/solution_1/PrimePHP.php:126
↓ 2 callersFunctionget_bit
PrimeMixed/solution_4/c_library/c_sieve.c:19
↓ 2 callersFunctioninitBenchmarkSettings
prepare the benchmark settings using defaults
PrimeC/solution_5/src/benchmark/sieve_benchmark.h:2
↓ 2 callersMethodis_num_flagged
(&self, number: usize)
PrimeRust/solution_1/prime-sieve-rust/src/main.rs:603
↓ 2 callersFunctionlistSetBitsTrueMethods
PrimeC/solution_5/src/benchmark/sieve_benchmarkFunctions.h:14
↓ 2 callersFunctionlocal_memcpy
PrimeC/solution_5/src/generic/helpers.h:30
↓ 2 callersFunctionmemCpy
PrimeC/solution_4/sieve.c:57
↓ 2 callersFunctionminimum_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 callersFunctionnextPrime
Search the bit array for the next set bit, which corresponds to the next prime
PrimeC/solution_4/sieve.c:92
↓ 2 callersFunctionpattern_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 callersFunctionplayStepplan
PrimeC/solution_5/src/benchmark/sieve_benchmarkFunctions.h:110
↓ 2 callersMethodprintResults
(title: string, data: Result[])
tools/src/formatters/table.ts:23
↓ 2 callersMethodprintResults
(double duration, int passes, SieveArgs args)
PrimeJava/solution_4/src/PrimeSieveBase.java:62
↓ 2 callersFunctionprintStripePasses
PrimeC/solution_5/src/benchmark/sieve_benchmarkFunctions.h:21
↓ 2 callersFunctionprint_header
## Print header > Helper function that displays information about a run.
PrimeRust/solution_7/src/main.rs:8
↓ 2 callersMethodprint_results
Displays the primes found (or just the total count, depending on what you ask for)
PrimePython/solution_2/PrimePY.py:82
↓ 2 callersFunctionprint_results_stderr
print results to console stderr for good feedback
PrimeRust/solution_1/prime-sieve-rust/src/main.rs:649
↓ 2 callersFunctionprint_timing_table
PrimeC/solution_5/src/benchmark/sieve_timers.h:85
↓ 2 callersFunctionprocessTemplate
(out io.Writer, path string, conf interface{})
PrimeGo/solution_2/tools/typegen.go:86
↓ 2 callersFunctionread_memdump
(argv, default_fn="fullmem_dump.bin")
Prime6502Assembly/solution_4/memdump_utils.py:3
↓ 2 callersMethodrender
(report: Report)
tools/src/formatter.ts:4
↓ 2 callersFunctionreport_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 callersFunctionrequestPower
PrimeC/solution_5/src/benchmark/sieve_benchmark.h:69
↓ 2 callersMethodreset_flags_general
(&mut self, skip: usize)
PrimeRust/solution_1/prime-sieve-rust/src/main.rs:476
↓ 2 callersFunctionrun
PrimeCPP/solution_3/PrimeCPP_CONSTEXPR.cpp:100
↓ 2 callersMethodrunArray
()
PrimeJava/solution_1/PrimeSieveJava.java:49
↓ 2 callersMethodrunBitSet
()
PrimeJava/solution_1/PrimeSieveJava.java:60
↓ 2 callersMethodrunSieve
PrimeCPP/solution_4/algorithms.hpp:41
↓ 2 callersMethodrunSieve
()
PrimeJavaScript/solution_2/PrimeJavaScript_sniper.js:48
↓ 2 callersMethodrunSieve
()
PrimeJavaScript/solution_2/PrimeJavaScript_extreme_sieve.js:44
↓ 2 callersMethodrunSieve
()
PrimeJavaScript/solution_1/PrimeSieve.mjs:45
↓ 2 callersMethodrunSieve
()
PrimeJavaScript/solution_1/PrimeJavaScript.js:136
↓ 2 callersMethodrunSieve
()
PrimeJavaScript/solution_1/PrimeJavaScript_memcopy.js:193
↓ 2 callersMethodrunSieve_base
()
PrimeJavaScript/solution_1/PrimeJavaScript_cluster.js:194
↓ 2 callersMethodrunSieve_memcopy
()
PrimeJavaScript/solution_1/PrimeJavaScript_cluster.js:209
↓ 2 callersMethodrunSingle
(Supplier<PrimeSieveBase> factory, SieveArgs args)
PrimeJava/solution_4/src/PrimeSieveBase.java:112
↓ 2 callersFunctionrun_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 callersMethodrun_sieve
Calculate the primes up to the specified limit
PrimePython/solution_3/PrimePY_numba.py:63
↓ 2 callersMethodrun_sieve_numo
PrimeRuby/solution_2/prime.rb:13
↓ 2 callersFunctionrun_timed_sieve
Purpose: Run the sieve in a loop until the maximum specified time */
PrimeC/solution_3/primes_words.c:404
↓ 2 callersFunctionrun_timed_sieve
PrimeC/solution_3/primes_striped-block.c:245
← previousnext →101–200 of 1,590, ranked by callers