MCPcopy Create free account

hub / github.com/TheAlgorithms/Go / functions

Functions1,378 in github.com/TheAlgorithms/Go

FunctionBenchmarkIsPerfectNumber
(b *testing.B)
math/perfectnumber_test.go:147
FunctionBenchmarkIsPowerOfTwoBinaryMethod
(b *testing.B)
math/binary/checkisnumberpoweroftwo_test.go:77
FunctionBenchmarkIsPowerOfTwoUseCycleAndLeftShift
(b *testing.B)
math/binary/checkisnumberpoweroftwo_test.go:83
FunctionBenchmarkIsPowerOfTwoUseLog
(b *testing.B)
math/checkisnumberpoweroftwo_test.go:50
FunctionBenchmarkIsPowerOfTwoUseLog
(b *testing.B)
math/binary/checkisnumberpoweroftwo_test.go:89
FunctionBenchmarkIsValid
(b *testing.B)
math/matrix/isvalid_test.go:45
FunctionBenchmarkIterativePower
(b *testing.B)
math/power/fastexponent_test.go:51
FunctionBenchmarkJump
(b *testing.B)
search/jump_test.go:17
FunctionBenchmarkJump2
(b *testing.B)
search/jump2_test.go:17
FunctionBenchmarkLinear
(b *testing.B)
search/linear_test.go:19
FunctionBenchmarkLiouvilleLambda
(b *testing.B)
math/liouville_test.go:35
FunctionBenchmarkLowerBound
(b *testing.B)
search/binary_test.go:72
FunctionBenchmarkMatchDimensions
BenchmarkMatchDimensions benchmarks the MatchDimensions method.
math/matrix/matchdimensions_test.go:30
FunctionBenchmarkMathCos
BenchmarkMathCos is slower because the standard library `math.Cos` calculates a more accurate value.
math/cos_test.go:42
FunctionBenchmarkMathPAckageLogBase2
(b *testing.B)
math/binary/logarithm_test.go:44
FunctionBenchmarkMathSin
BenchmarkMathSin is slower because the standard library `math.Sin` calculates a more accurate value.
math/sin_test.go:39
FunctionBenchmarkMathSqrt
(b *testing.B)
math/binary/sqrt_test.go:46
FunctionBenchmarkMatrix
(b *testing.B)
math/fibonacci/fibonacci_test.go:86
FunctionBenchmarkMatrixDeterminant
Benchmark a 10 by 10 matrix for computational throughput.
math/matrix/determinant_test.go:130
FunctionBenchmarkMatrixMultiply
(b *testing.B)
math/matrix/multiply_test.go:91
FunctionBenchmarkMeanUsingAndXor
(b *testing.B)
math/binary/arithmeticmean_test.go:55
FunctionBenchmarkMeanUsingRightShift
(b *testing.B)
math/binary/arithmeticmean_test.go:61
FunctionBenchmarkMerge
(b *testing.B)
sort/sorts_test.go:275
FunctionBenchmarkMergeIter
(b *testing.B)
sort/sorts_test.go:279
FunctionBenchmarkMergeParallel
(b *testing.B)
sort/sorts_test.go:283
FunctionBenchmarkMillerRabinDeterministic
(b *testing.B)
math/prime/prime_test.go:73
FunctionBenchmarkMillerRabinProbabilistic
(b *testing.B)
math/prime/prime_test.go:54
FunctionBenchmarkMonteCarloPi
(b *testing.B)
math/pi/montecarlopi_test.go:23
FunctionBenchmarkMonteCarloPi2
(b *testing.B)
math/pi/montecarlopi_test.go:76
FunctionBenchmarkMu
(b *testing.B)
math/mobius_test.go:37
FunctionBenchmarkNew
(b *testing.B)
strings/guid/guid_test.go:64
FunctionBenchmarkNew
BenchmarkNew benchmarks the New function.
math/matrix/matrix_test.go:180
FunctionBenchmarkNewFromElements
BenchmarkNewFromElements benchmarks the NewFromElements function.
math/matrix/matrix_test.go:187
FunctionBenchmarkNthFibonacci
(b *testing.B)
math/fibonacci/fibonacci_test.go:80
FunctionBenchmarkOptimizedTrialDivision
(b *testing.B)
math/prime/prime_test.go:93
FunctionBenchmarkPancakeSort
(b *testing.B)
sort/sorts_test.go:324
FunctionBenchmarkPatience
(b *testing.B)
sort/sorts_test.go:332
FunctionBenchmarkPhi
(b *testing.B)
math/eulertotient_test.go:40
FunctionBenchmarkPiSpigotN10
(b *testing.B)
math/pi/spigotpi_test.go:44
FunctionBenchmarkPiSpigotN100
(b *testing.B)
math/pi/spigotpi_test.go:50
FunctionBenchmarkPiSpigotN1000
(b *testing.B)
math/pi/spigotpi_test.go:56
FunctionBenchmarkPigeonhole
(b *testing.B)
sort/sorts_test.go:328
FunctionBenchmarkProblem1
Benchmarks
project_euler/problem_1/problem1_test.go:41
FunctionBenchmarkProblem10
Benchmarks
project_euler/problem_10/problem10_test.go:36
FunctionBenchmarkProblem11_Func
Benchmark
project_euler/problem_11/problem11_test.go:25
FunctionBenchmarkProblem12_Func
(b *testing.B)
project_euler/problem_12/problem12_test.go:27
FunctionBenchmarkProblem13_Func
(b *testing.B)
project_euler/problem_13/problem13_test.go:23
FunctionBenchmarkProblem14_Func
Benchmarks
project_euler/problem_14/problem14_test.go:27
FunctionBenchmarkProblem15_Func
Benchmarks
project_euler/problem_15/problem15_test.go:30
FunctionBenchmarkProblem16_Func
Benchmark
project_euler/problem_16/problem16_test.go:26
FunctionBenchmarkProblem17_Func
Benchmark
project_euler/problem_17/problem17_test.go:26
FunctionBenchmarkProblem18_Func
Benchmarks
project_euler/problem_18/problem18_test.go:38
FunctionBenchmarkProblem19_Func
Benchmarks
project_euler/problem_19/problem19_test.go:25
FunctionBenchmarkProblem2
Benchmarks
project_euler/problem_2/problem2_test.go:41
FunctionBenchmarkProblem20_Func
Benchmarks
project_euler/problem_20/problem20_test.go:27
FunctionBenchmarkProblem3
Benchmarks
project_euler/problem_3/problem3_test.go:36
FunctionBenchmarkProblem4
Benchmarks
project_euler/problem_4/problem4_test.go:29
FunctionBenchmarkProblem5
Benchmarks
project_euler/problem_5/problem5_test.go:41
FunctionBenchmarkProblem6
Benchmarks
project_euler/problem_6/problem6_test.go:36
FunctionBenchmarkProblem7
Benchmarks
project_euler/problem_7/problem7_test.go:36
FunctionBenchmarkProblem8
Benchmarks
project_euler/problem_8/problem8_test.go:36
FunctionBenchmarkProblem9
Benchmarks
project_euler/problem_9/problem9_test.go:29
FunctionBenchmarkPronicNumber
(b *testing.B)
math/pronicnumber_test.go:434
FunctionBenchmarkQuick
(b *testing.B)
sort/sorts_test.go:295
FunctionBenchmarkRBTree_Delete
(b *testing.B)
structure/tree/tree_test.go:572
FunctionBenchmarkRBTree_Has
(b *testing.B)
structure/tree/tree_test.go:555
FunctionBenchmarkRBTree_Insert
(b *testing.B)
structure/tree/tree_test.go:542
FunctionBenchmarkRGBToHEX
(b *testing.B)
conversion/rgbhex_test.go:47
FunctionBenchmarkRLEDecode
(b *testing.B)
compression/rlecoding_test.go:145
FunctionBenchmarkRLEDecodeBytes
(b *testing.B)
compression/rlecoding_test.go:157
FunctionBenchmarkRLEncode
* --- BENCHMARKS --- */
compression/rlecoding_test.go:139
FunctionBenchmarkRLEncodeBytes
(b *testing.B)
compression/rlecoding_test.go:151
FunctionBenchmarkRSADecryption
(b *testing.B)
cipher/rsa/rsa2_test.go:43
FunctionBenchmarkRSAEncryption
(b *testing.B)
cipher/rsa/rsa2_test.go:36
FunctionBenchmarkRadix
(b *testing.B)
sort/sorts_test.go:303
FunctionBenchmarkRecursivePower
(b *testing.B)
math/power/fastexponent_test.go:57
FunctionBenchmarkRecursivePower1
(b *testing.B)
math/power/fastexponent_test.go:63
FunctionBenchmarkReverseBits
(b *testing.B)
math/binary/reversebits_test.go:33
FunctionBenchmarkRho
(b *testing.B)
math/pollard_test.go:72
FunctionBenchmarkRomanToInt
(b *testing.B)
conversion/romantoint_test.go:48
FunctionBenchmarkRows
BenchmarkRows benchmarks the Rows method.
math/matrix/matrix_test.go:229
FunctionBenchmarkSelectK
(b *testing.B)
search/selectk_test.go:33
FunctionBenchmarkSelection
Very Slow, consider commenting
sort/sorts_test.go:316
FunctionBenchmarkSequenceGrayCode
(b *testing.B)
math/binary/rbc_test.go:33
FunctionBenchmarkSet
BenchmarkSet benchmarks the Set method.
math/matrix/matrix_test.go:217
FunctionBenchmarkShell
(b *testing.B)
sort/sorts_test.go:299
FunctionBenchmarkSieve10
(b *testing.B)
math/prime/sieve_test.go:48
FunctionBenchmarkSieveEratosthenes
(b *testing.B)
math/prime/sieve2_test.go:39
FunctionBenchmarkSimple
(b *testing.B)
sort/sorts_test.go:307
FunctionBenchmarkSimpleAbs
(b *testing.B)
math/abs_test.go:40
FunctionBenchmarkSin
(b *testing.B)
math/sin_test.go:32
FunctionBenchmarkSmallMatrixDeterminant
Benchmark a 3 by 3 matrix for computational throughput
math/matrix/determinant_test.go:117
FunctionBenchmarkSquareRootCalculation
(b *testing.B)
math/binary/sqrt_test.go:40
FunctionBenchmarkStdLibAbs
(b *testing.B)
math/abs_test.go:57
FunctionBenchmarkStooge
(b *testing.B)
sort/sorts_test.go:348
FunctionBenchmarkStrassenMatrixMultiply
BenchmarkStrassenMatrixMultiply benchmarks the StrassenMatrixMultiply function.
math/matrix/strassenmatrixmultiply_test.go:121
FunctionBenchmarkString
(b *testing.B)
math/matrix/string_test.go:87
FunctionBenchmarkSubMatrix
BenchmarkSubMatrix benchmarks the SubMatrix function.
math/matrix/submatrix_test.go:74
FunctionBenchmarkSubtract
BenchmarkSubtract benchmarks the Subtract function.
math/matrix/subtract_test.go:40
FunctionBenchmarkSumOfProperDivisors
(b *testing.B)
math/perfectnumber_test.go:102
← previousnext →701–800 of 1,378, ranked by callers