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
↓ 2 callers
Method
searchBitFalse
(index)
PrimeJavaScript/solution_1/PrimeJavaScript_cluster.js:111
↓ 2 callers
Method
set
PrimeKotlin/solution_1/src/commonMain/kotlin/SieveMap.kt:8
↓ 2 callers
Function
setBit
PrimeC/solution_3/primes_words.c:82
↓ 2 callers
Method
setBitTrue
(index)
PrimeJavaScript/solution_1/PrimeJavaScript_memcopy.js:54
↓ 2 callers
Method
setBitTrue
(index)
PrimeJavaScript/solution_1/PrimeJavaScript_cluster.js:54
↓ 2 callers
Method
setBitsTrue
(range_start, step, range_stop)
PrimeJavaScript/solution_1/PrimeJavaScript_cluster.js:60
↓ 2 callers
Function
showPrimesinSieve
PrimeC/solution_5/src/benchmark/sieve_check.h:9
↓ 2 callers
Method
sieve
(&mut self)
PrimeRust/solution_5/src/sieve/algorithm/tile.rs:33
↓ 2 callers
Function
sieveOfSize
PrimeKotlin/solution_1/src/commonMain/kotlin/SieveMap.kt:3
↓ 2 callers
Function
sieveOnePrime
Remove multiples of the prime found by nextPrime Note that it is sufficient to remove multiples of the factors corresponding to remaining bits, so we
PrimeC/solution_4/sieve.c:114
↓ 2 callers
Function
str_to_uintmax
Custom string to uintmax_t converter
PrimeC/solution_5/src/benchmark/sieve_parseCommandline.h:33
↓ 2 callers
Function
stripeSieveBlockByBlock
PrimeC/solution_5/src/sieve/sieve_stripe.h:32
↓ 2 callers
Function
strrchr_local
PrimeC/solution_5/src/benchmark/sieve_parseCommandline.h:6
↓ 2 callers
Function
testSieveCount
(t *testing.T, tests []sieveCountTestCase, newFactory SieveFactoryFunc)
PrimeGo/solution_2/sieve_test.go:21
↓ 2 callers
Function
testSieveRun
(t *testing.T, tests []sieveRunTestCase, newFactory SieveFactoryFunc)
PrimeGo/solution_2/sieve_test.go:40
↓ 2 callers
Function
testSieveSize
(t *testing.T, tests []sieveSizeTestCase, newFactory SieveFactoryFunc)
PrimeGo/solution_2/sieve_test.go:80
↓ 2 callers
Function
unwrap_bitvector
PrimeProlog/solution_1/bitvector.c:17
↓ 2 callers
Function
updateBenchmarkResult
PrimeC/solution_5/src/benchmark/sieve_benchmark.h:104
↓ 2 callers
Method
validate
(final int sieveSize, final long count)
PrimeJava/solution_2/src/PrimeSieveJavaBitSetMT.java:108
↓ 2 callers
Method
validatePrimeCount
(verbose)
PrimeJavaScript/solution_1/PrimeJavaScript_cluster.js:257
↓ 2 callers
Method
validateResults
()
PrimeJava/solution_2/src/PrimeSieveJavaBitSet.java:83
↓ 2 callers
Function
validateSieve
PrimeC/solution_5/src/benchmark/sieve_check.h:57
↓ 1 callers
Function
AllBenchmarks
AllBenchmarks creates base sieve, segmented sieve, blocks and rblocks benchmarks for all registered storage types. It skips benchmarks that don't matc
PrimeGo/solution_2/benchmark.go:133
↓ 1 callers
Method
CountPrimes
()
PrimeGo/solution_3/main.go:47
↓ 1 callers
Method
Dispose
()
PrimeCSharp/solution_1/V1Sieves/PrimeSieveArrayPoolRef.cs:91
↓ 1 callers
Method
GetSieves
()
PrimeCSharp/solution_1/Config/SettingsV2.cs:256
↓ 1 callers
Function
MakeBenchmarks
MakeBenchmark creates a slice of benchmarks from a slice of config entries
PrimeGo/solution_2/benchmark.go:78
↓ 1 callers
Function
MakeTags
MakeTags makes Tags from a config entry
PrimeGo/solution_2/dragrace.go:32
↓ 1 callers
Method
NameFor
(w int)
PrimeGo/solution_2/tools/typegen.go:33
↓ 1 callers
Function
NewBenchmark
NewBenchmark creates a benchmark from a config entry. It's used in the drag-race mode.
PrimeGo/solution_2/benchmark.go:43
↓ 1 callers
Function
NewFactoryPropsFromConfig
(ce RaceConfigEntry)
PrimeGo/solution_2/main.go:20
↓ 1 callers
Function
NewFactoryPropsFromFlags
(flags RunFlags)
PrimeGo/solution_2/main.go:16
↓ 1 callers
Method
OutputResult
OutputResult prints benchmark result to the DragRaceManager's output stream.
PrimeGo/solution_2/dragrace.go:128
↓ 1 callers
Method
Passes
PrimeMixed/solution_5/main.cpp:94
↓ 1 callers
Method
PrintResults
PrintResults prints some detailed info.
PrimeGo/solution_4/main.go:166
↓ 1 callers
Function
ReadConfig
ReadConfig reads and parses a config containing implementations participating in the drag-race. If successful, it returns a slice of parsed config ent
PrimeGo/solution_2/dragrace.go:71
↓ 1 callers
Function
ReadGenConfig
(path string)
PrimeGo/solution_2/tools/typegen.go:111
↓ 1 callers
Method
Results
(showResults bool, duration time.Duration, passes int)
PrimeGo/solution_1/main.go:61
↓ 1 callers
Method
RunAllSieves
(SettingsV1 options)
PrimeCSharp/solution_1/SieveRunnerV1.cs:42
↓ 1 callers
Method
RunOne
RunOne runs one benchmark and returns its result. If -prof flag is provided, it will also write cpu profile info to a file on disk.
PrimeGo/solution_2/dragrace.go:101
↓ 1 callers
Method
RunSieve
()
PrimeMixed/solution_1/sieve_cgo.go:76
↓ 1 callers
Method
Size
()
PrimeGo/solution_2/sieve.go:11
↓ 1 callers
Method
Validate
()
PrimeGo/solution_1/main.go:43
↓ 1 callers
Method
ValidateResults
()
PrimeMixed/solution_1/sieve_cgo.go:89
↓ 1 callers
Function
_clear_bit
PrimeMixed/solution_3/src/pysieve/tools/sieveModule.c:31
↓ 1 callers
Function
_get_bit
PrimeMixed/solution_3/src/pysieve/tools/sieveModule.c:23
↓ 1 callers
Function
_init_array
PrimeMixed/solution_3/src/pysieve/tools/sieveModule.c:14
↓ 1 callers
Function
_run_sieve
(bits, size)
PrimePython/solution_3/PrimePY_numba.py:22
↓ 1 callers
Function
addTuningVariations
PrimeC/solution_5/src/benchmark/sieve_tune.h:118
↓ 1 callers
Method
alsoIfNotNull
Nullable numbers are unadvised as they lead to boxing; as a workaround we use -1 as null and create extension functions
PrimeKotlin/solution_1/src/commonMain/kotlin/PrimeSieveIdiomaticFast.kt:30
↓ 1 callers
Function
benchmarkSetBitsTrue
this function is used for the benchmarking it knows all the different ways to setBitsTrue for a given range and step it benchmarks the different metho
PrimeC/solution_5/src/benchmark/sieve_benchmarkFunctions.h:39
↓ 1 callers
Function
benchmarkSieveSetBitsTrue
PrimeC/solution_5/src/benchmark/sieve_benchmarkFunctions.h:103
↓ 1 callers
Function
bit_cross_out
PrimeC/solution_3/primes_striped-block.c:83
↓ 1 callers
Function
block_cross_out
Purpose: Crossout a the sieve block by block, this has a few more calculations but can better use the L1 cache */
PrimeC/solution_3/primes_words.c:100
↓ 1 callers
Method
buildImage
(dirName: string, imageName: string)
tools/src/services/docker.ts:4
↓ 1 callers
Function
buildInitialTuningTable
PrimeC/solution_5/src/benchmark/sieve_tune.h:59
↓ 1 callers
Function
build_prime_sieve
builder function for prime sieve
PrimeRust/solution_4/PrimeRust.rs:17
↓ 1 callers
Function
calcReferencePrimes
PrimeCPP/solution_4/tests.hpp:35
↓ 1 callers
Function
calculate_masks
This produces a set of 64 single-bit masks for a given u64 word and skip factor.
PrimeRust/solution_1/helper-macros/src/lib.rs:156
↓ 1 callers
Function
checkSetBitsTrueMethod_stripe
PrimeC/solution_5/src/benchmark/sieve_checkFunctions.h:3
↓ 1 callers
Function
checkSetBitsTrueMethodsBlocks
PrimeC/solution_5/src/benchmark/sieve_checkFunctions.h:104
↓ 1 callers
Function
checkSieveAlgorithm
check with every sievesize, but not with every blocksize
PrimeC/solution_5/src/benchmark/sieve_validate.h:10
↓ 1 callers
Function
checkSieveAlgorithmAll
check with every sievesize and blocksize
PrimeC/solution_5/src/benchmark/sieve_validate.h:39
↓ 1 callers
Function
clear
All assembler code is contained within this function.
PrimeMixed/solution_5/main.cpp:15
↓ 1 callers
Method
clear
PrimeKotlin/solution_1/src/commonMain/kotlin/PrimeSieveIdiomaticFast.kt:39
↓ 1 callers
Method
clearBit
(int factor)
PrimeJava/solution_4/src/PrimeSieveBaseBit.java:7
↓ 1 callers
Method
clearBit
(final BitSet bitSet, final int index)
PrimeJava/solution_2/src/PrimeSieveJavaBitSetMT.java:85
↓ 1 callers
Method
clearBit
(final int index)
PrimeJava/solution_2/src/PrimeSieveJavaBitSet.java:99
↓ 1 callers
Method
clearBit
(int index)
PrimeJava/solution_3/PrimeSieveJava.java:55
↓ 1 callers
Method
clearBits
(int factor)
PrimeJava/solution_4/src/PrimeSieveBase.java:51
↓ 1 callers
Function
clear_bit
PrimeMixed/solution_4/c_library/c_sieve.c:25
↓ 1 callers
Function
clear_cache
PrimeC/solution_5/src/benchmark/sieve_benchmarkFunctions.h:7
↓ 1 callers
Function
close_db
(sqliteConnection)
PrimeSQL/solution_1/sqlite_runner.py:198
↓ 1 callers
Function
compareResults
PrimeCPP/solution_4/tests.hpp:58
↓ 1 callers
Method
contains
PrimeCPP/solution_3/Sieve.h:68
↓ 1 callers
Function
continuePattern_aligned
PrimeC/solution_5/src/bitstorage/bitstorage_continuePattern_aligned.h:1
↓ 1 callers
Function
continuePattern_shiftleft
PrimeC/solution_5/src/bitstorage/bitstorage_continuePattern_shiftleft.h:26
↓ 1 callers
Function
continuePattern_shiftleft_unrolled
PrimeC/solution_5/src/bitstorage/bitstorage_continuePattern_shiftleft.h:1
↓ 1 callers
Function
continuePattern_shiftright
PrimeC/solution_5/src/bitstorage/bitstorage_continuePattern_shiftright.h:2
↓ 1 callers
Function
continuePattern_smallSize
PrimeC/solution_5/src/bitstorage/bitstorage_continuePattern_smallsize.h:1
↓ 1 callers
Method
copyPattern
(source_start, destination_start, destination_stop)
PrimeJavaScript/solution_1/PrimeJavaScript_memcopy.js:120
↓ 1 callers
Method
copyPattern
(source_start, destination_start, destination_stop)
PrimeJavaScript/solution_1/PrimeJavaScript_cluster.js:120
↓ 1 callers
Function
countPrimes
PrimeC/solution_1/sieve.c:177
↓ 1 callers
Method
countPrimes
(final BitSet bitArray)
PrimeJava/solution_2/src/PrimeSieveJavaBitSetMT.java:94
↓ 1 callers
Method
countPrimes
()
PrimeJava/solution_2/src/PrimeSieveJavaBitSet.java:78
↓ 1 callers
Method
countPrimes
()
PrimeJava/solution_3/PrimeSieveJava.java:21
↓ 1 callers
Method
countPrimes
PrimeCPP/solution_4/algorithms.hpp:53
↓ 1 callers
Method
countPrimes
PrimeCPP/solution_2/PrimeCPP_array.cpp:128
↓ 1 callers
Method
countPrimes
PrimeCPP/solution_2/PrimeCPP_mask.cpp:175
↓ 1 callers
Method
countPrimes
PrimeCPP/solution_5/PrimeCPP_array.cpp:718
↓ 1 callers
Method
countPrimes
()
PrimeJavaScript/solution_2/PrimeJavaScript_sniper.js:90
↓ 1 callers
Method
countPrimes
()
PrimeJavaScript/solution_2/PrimeJavaScript_extreme_sieve.js:108
↓ 1 callers
Method
countPrimes
()
PrimeJavaScript/solution_1/PrimeSieve.mjs:64
↓ 1 callers
Method
countPrimes
()
PrimeJavaScript/solution_1/PrimeJavaScript.js:152
↓ 1 callers
Method
countPrimes
()
PrimeJavaScript/solution_1/PrimeJavaScript_memcopy.js:216
↓ 1 callers
Method
countPrimes
()
PrimeJavaScript/solution_1/PrimeJavaScript_cluster.js:231
↓ 1 callers
Function
countPrimesInSieve
PrimeC/solution_5/src/benchmark/sieve_check.h:1
↓ 1 callers
Function
count_primes
PrimeMixed/solution_3/src/pysieve/tools/sieveModule.c:6
↓ 1 callers
Function
count_primes
PrimeC/solution_2/sieve_480of2310_only_write_read_bits.c:97
↓ 1 callers
Function
count_primes
PrimeC/solution_2/sieve_480of2310_par.c:149
← previous
next →
201–300 of 1,590, ranked by callers