MCPcopy Create free account

hub / github.com/Balun-courses/concurrency_go / functions

Functions875 in github.com/Balun-courses/concurrency_go

FunctionNewOnce
()
lessons/4_lesson_sync_primitives_2/once_implementation/once.go:13
FunctionNewPool
(ctr func() any)
lessons/4_lesson_sync_primitives_2/pool_implementation/main.go:40
FunctionNewPromise
()
database/internal/concurrency/promise.go:10
FunctionNewRWMutex
()
additional/open_lessons/mutex_internals/rw_mutex_implementation/main.go:12
FunctionNewRWMutex
()
lessons/4_lesson_sync_primitives_2/rw_mutex_implementation/main.go:12
FunctionNewRecursiveMutex
()
lessons/4_lesson_sync_primitives_2/recursive_mutex_implementation/main.go:38
FunctionNewRedisDatabaseWithCache
(ctx context.Context, database RedisDatabase)
lessons/10_lesson_live_coding_practise/cache/main.go:28
FunctionNewScheduler
()
lessons/10_lesson_live_coding_practise/scheduler/main.go:15
FunctionNewSemaphore
(ticketsNumber int)
database/internal/concurrency/semaphore.go:7
FunctionNewSemaphore
(limit int)
lessons/4_lesson_sync_primitives_2/semaphore/main.go:13
FunctionNewShardedMap
(shardsNumber int)
lessons/8_lesson_sync_algorithms_and_lock_free/sharded_map/main.go:46
FunctionNewSlave
( client TCPClient, walDirectory string, syncInterval time.Duration, logger *zap.Logger, )
database/internal/database/storage/replication/slave.go:33
FunctionNewSpinLock
()
lessons/4_lesson_sync_primitives_2/spinlock/main.go:16
FunctionNewSpinLock
()
lessons/4_lesson_sync_primitives_2/spinlock_with_yield/main.go:17
FunctionNewSpinLock
()
lessons/4_lesson_sync_primitives_2/spinlock_combined/main.go:19
FunctionNewStack
()
lessons/3_lesson_sync_primitives_1/sync_stack/main.go:14
FunctionNewTicker
(interval time.Duration)
lessons/6_lesson_channel_patterns/ticker_implementation/main.go:15
FunctionNewTicketLock
()
lessons/4_lesson_sync_primitives_2/ticket_lock/main.go:13
FunctionNewTimedMutex
()
lessons/4_lesson_sync_primitives_2/timed_mutex_implementation/main.go:12
FunctionNewWorkerPool
(workersNumber int)
lessons/10_lesson_live_coding_practise/worker_pool/main.go:16
MethodParse
Parse mocks base method.
database/internal/database/database_mock.go:39
MethodParse
Parse indicates an expected call of Parse.
database/internal/database/database_mock.go:48
MethodProcess
()
lessons/4_lesson_sync_primitives_2/action_during_actions/main.go:11
MethodPut
(node *Node)
lessons/4_lesson_sync_primitives_2/pool_implementation/main.go:60
MethodRLock
()
additional/open_lessons/mutex_internals/rw_mutex_implementation/main.go:44
MethodRUnlock
()
additional/open_lessons/mutex_internals/rw_mutex_implementation/main.go:55
FunctionRUnlockLockedMutex
()
lessons/4_lesson_sync_primitives_2/rw_mutex_operations/main.go:5
MethodRead
Read mocks base method.
database/internal/database/storage/wal/wal_mock.go:72
MethodRead
Read indicates an expected call of Read.
database/internal/database/storage/wal/wal_mock.go:81
MethodRecover
Recover mocks base method.
database/internal/database/storage/storage_mock.go:116
MethodRecover
Recover indicates an expected call of Recover.
database/internal/database/storage/storage_mock.go:125
MethodRecover
()
database/internal/database/storage/wal/wal.go:78
MethodRelease
()
lessons/4_lesson_sync_primitives_2/semaphore/main.go:32
MethodSet
Set mocks base method.
database/internal/database/database_mock.go:106
MethodSet
Set indicates an expected call of Set.
database/internal/database/database_mock.go:114
MethodSet
(context.Context, string, string)
database/internal/database/storage/storage.go:21
MethodSet
Set mocks base method.
database/internal/database/storage/storage_mock.go:67
MethodSet
Set indicates an expected call of Set.
database/internal/database/storage/storage_mock.go:73
MethodSet
Set mocks base method.
database/internal/database/storage/storage_mock.go:131
MethodSet
Set indicates an expected call of Set.
database/internal/database/storage/storage_mock.go:139
MethodSet
(ctx context.Context, key, value string)
database/internal/database/storage/engine/in_memory/engine.go:39
MethodSet
Set don't use with any goroutines
database/internal/concurrency/promise.go:17
MethodSet
(key, value string)
lessons/8_lesson_sync_algorithms_and_lock_free/sharded_map/main.go:27
MethodSet
(key, value string)
lessons/8_lesson_sync_algorithms_and_lock_free/sharded_map/main.go:58
MethodSet
(key, value string)
lessons/3_lesson_sync_primitives_1/recursive_lock/main.go:20
MethodSet
(int32, map[string]string)
lessons/9_lesson_concurrency_patterns/mvcc/scheduler.go:10
MethodSet
(key, value string)
lessons/9_lesson_concurrency_patterns/mvcc/transaction.go:31
MethodSet
(key string, value string)
lessons/9_lesson_concurrency_patterns/2pl/storage.go:16
MethodSet
(key, value string)
lessons/9_lesson_concurrency_patterns/2pl/transaction.go:36
MethodSetTimeout
SetTimeout run some function after some timeout
lessons/10_lesson_live_coding_practise/scheduler/main.go:22
MethodStart
(ctx context.Context)
database/internal/database/storage/replication/slave.go:62
MethodStart
(ctx context.Context)
database/internal/database/storage/replication/master.go:40
FunctionTest1
go test -p 4 -v ./... -p n the number of programs, such as build commands or test binaries, that can be run in parallel. The default is the number of
additional/lesson_testing_and_profiling/testing_in_any_packages/first_package/order_test.go:18
FunctionTest1
go test -p 4 -v ./... -p n the number of programs, such as build commands or test binaries, that can be run in parallel. The default is the number of
additional/lesson_testing_and_profiling/testing_in_any_packages/second_package/order_test.go:18
FunctionTest1
(t *testing.T)
additional/lesson_testing_and_profiling/testing_in_one_package_parallel/order_test.go:17
FunctionTest1
(t *testing.T)
additional/lesson_testing_and_profiling/testing_in_one_package_parallel_with_subtests/order_test.go:17
FunctionTest1
go test -v
additional/lesson_testing_and_profiling/testing_in_one_package/order_test.go:10
FunctionTest2
(t *testing.T)
additional/lesson_testing_and_profiling/testing_in_any_packages/first_package/order_test.go:22
FunctionTest2
(t *testing.T)
additional/lesson_testing_and_profiling/testing_in_any_packages/second_package/order_test.go:22
FunctionTest2
(t *testing.T)
additional/lesson_testing_and_profiling/testing_in_one_package_parallel/order_test.go:21
FunctionTest2
(t *testing.T)
additional/lesson_testing_and_profiling/testing_in_one_package_parallel_with_subtests/order_test.go:31
FunctionTest2
(t *testing.T)
additional/lesson_testing_and_profiling/testing_in_one_package/order_test.go:14
FunctionTest3
(t *testing.T)
additional/lesson_testing_and_profiling/testing_in_one_package_parallel/order_test.go:26
FunctionTest3
(t *testing.T)
additional/lesson_testing_and_profiling/testing_in_one_package_parallel_with_subtests/order_test.go:36
FunctionTest4
(t *testing.T)
additional/lesson_testing_and_profiling/testing_in_any_packages/first_package/order_test.go:30
FunctionTest4
(t *testing.T)
additional/lesson_testing_and_profiling/testing_in_any_packages/second_package/order_test.go:30
FunctionTest4
(t *testing.T)
additional/lesson_testing_and_profiling/testing_in_one_package_parallel/order_test.go:35
FunctionTest4
(t *testing.T)
additional/lesson_testing_and_profiling/testing_in_one_package_parallel_with_subtests/order_test.go:45
FunctionTest4
(t *testing.T)
additional/lesson_testing_and_profiling/testing_in_one_package/order_test.go:22
FunctionTest5
(t *testing.T)
additional/lesson_testing_and_profiling/testing_in_any_packages/first_package/order_test.go:26
FunctionTest5
(t *testing.T)
additional/lesson_testing_and_profiling/testing_in_any_packages/second_package/order_test.go:26
FunctionTest5
(t *testing.T)
additional/lesson_testing_and_profiling/testing_in_one_package_parallel/order_test.go:30
FunctionTest5
(t *testing.T)
additional/lesson_testing_and_profiling/testing_in_one_package_parallel_with_subtests/order_test.go:40
FunctionTest5
(t *testing.T)
additional/lesson_testing_and_profiling/testing_in_one_package/order_test.go:18
FunctionTestCommandArgumentsNumber
(t *testing.T)
database/internal/database/compute/command_test.go:18
FunctionTestCommandNameToCommandID
(t *testing.T)
database/internal/database/compute/command_test.go:9
FunctionTestCommit
(t *testing.T)
lessons/9_lesson_concurrency_patterns/mvcc/scheduler_test.go:11
FunctionTestCommit
(t *testing.T)
lessons/9_lesson_concurrency_patterns/2pl/scheduler_test.go:11
FunctionTestCommitWithTheSameKeys
(t *testing.T)
lessons/9_lesson_concurrency_patterns/mvcc/scheduler_test.go:28
FunctionTestCommitWithTheSameKeys
(t *testing.T)
lessons/9_lesson_concurrency_patterns/2pl/scheduler_test.go:28
FunctionTestCreateEngine
(t *testing.T)
database/internal/initialization/engine_initializer_test.go:13
FunctionTestCreateLogger
(t *testing.T)
database/internal/initialization/logger_initializer_test.go:12
FunctionTestCreateNetwork
(t *testing.T)
database/internal/initialization/network_initializer_test.go:14
FunctionTestCreateReplica
(t *testing.T)
database/internal/initialization/replication_initializer_test.go:14
FunctionTestCreateWAL
(t *testing.T)
database/internal/initialization/wal_initializer_test.go:14
FunctionTestDirtyRead
(t *testing.T)
lessons/9_lesson_concurrency_patterns/mvcc/scheduler_test.go:81
FunctionTestDirtyRead
(t *testing.T)
lessons/9_lesson_concurrency_patterns/2pl/scheduler_test.go:81
FunctionTestE2ENetwork
(t *testing.T)
database/test/e2e_network_test.go:14
FunctionTestE2EWAL
(t *testing.T)
database/test/e2e_wal_test.go:15
FunctionTestEngineDel
(t *testing.T)
database/internal/database/storage/engine/in_memory/engine_test.go:97
FunctionTestEngineGet
(t *testing.T)
database/internal/database/storage/engine/in_memory/engine_test.go:138
FunctionTestEngineSet
(t *testing.T)
database/internal/database/storage/engine/in_memory/engine_test.go:54
FunctionTestGenerateID
(t *testing.T)
database/internal/database/storage/id_generator_test.go:25
FunctionTestGenerateIDOverflow
(t *testing.T)
database/internal/database/storage/id_generator_test.go:48
FunctionTestGoroutineLeak
(t *testing.T)
additional/lesson_testing_and_profiling/testing_leaks/leak_test.go:32
FunctionTestHandleQuery
(t *testing.T)
database/internal/database/database_test.go:69
FunctionTestHashTableDel
(t *testing.T)
database/internal/database/storage/engine/in_memory/hash_table_test.go:95
FunctionTestHashTableGet
(t *testing.T)
database/internal/database/storage/engine/in_memory/hash_table_test.go:57
FunctionTestHashTableSet
(t *testing.T)
database/internal/database/storage/engine/in_memory/hash_table_test.go:18
FunctionTestIDGeneratorCreatingWithPreviousID
(t *testing.T)
database/internal/database/storage/id_generator_test.go:18
← previousnext →501–600 of 875, ranked by callers