Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Balun-courses/concurrency_go
/ functions
Functions
875 in github.com/Balun-courses/concurrency_go
⨍
Functions
875
◇
Types & classes
175
Function
NewOnce
()
lessons/4_lesson_sync_primitives_2/once_implementation/once.go:13
Function
NewPool
(ctr func() any)
lessons/4_lesson_sync_primitives_2/pool_implementation/main.go:40
Function
NewPromise
()
database/internal/concurrency/promise.go:10
Function
NewRWMutex
()
additional/open_lessons/mutex_internals/rw_mutex_implementation/main.go:12
Function
NewRWMutex
()
lessons/4_lesson_sync_primitives_2/rw_mutex_implementation/main.go:12
Function
NewRecursiveMutex
()
lessons/4_lesson_sync_primitives_2/recursive_mutex_implementation/main.go:38
Function
NewRedisDatabaseWithCache
(ctx context.Context, database RedisDatabase)
lessons/10_lesson_live_coding_practise/cache/main.go:28
Function
NewScheduler
()
lessons/10_lesson_live_coding_practise/scheduler/main.go:15
Function
NewSemaphore
(ticketsNumber int)
database/internal/concurrency/semaphore.go:7
Function
NewSemaphore
(limit int)
lessons/4_lesson_sync_primitives_2/semaphore/main.go:13
Function
NewShardedMap
(shardsNumber int)
lessons/8_lesson_sync_algorithms_and_lock_free/sharded_map/main.go:46
Function
NewSlave
( client TCPClient, walDirectory string, syncInterval time.Duration, logger *zap.Logger, )
database/internal/database/storage/replication/slave.go:33
Function
NewSpinLock
()
lessons/4_lesson_sync_primitives_2/spinlock/main.go:16
Function
NewSpinLock
()
lessons/4_lesson_sync_primitives_2/spinlock_with_yield/main.go:17
Function
NewSpinLock
()
lessons/4_lesson_sync_primitives_2/spinlock_combined/main.go:19
Function
NewStack
()
lessons/3_lesson_sync_primitives_1/sync_stack/main.go:14
Function
NewTicker
(interval time.Duration)
lessons/6_lesson_channel_patterns/ticker_implementation/main.go:15
Function
NewTicketLock
()
lessons/4_lesson_sync_primitives_2/ticket_lock/main.go:13
Function
NewTimedMutex
()
lessons/4_lesson_sync_primitives_2/timed_mutex_implementation/main.go:12
Function
NewWorkerPool
(workersNumber int)
lessons/10_lesson_live_coding_practise/worker_pool/main.go:16
Method
Parse
Parse mocks base method.
database/internal/database/database_mock.go:39
Method
Parse
Parse indicates an expected call of Parse.
database/internal/database/database_mock.go:48
Method
Process
()
lessons/4_lesson_sync_primitives_2/action_during_actions/main.go:11
Method
Put
(node *Node)
lessons/4_lesson_sync_primitives_2/pool_implementation/main.go:60
Method
RLock
()
additional/open_lessons/mutex_internals/rw_mutex_implementation/main.go:44
Method
RUnlock
()
additional/open_lessons/mutex_internals/rw_mutex_implementation/main.go:55
Function
RUnlockLockedMutex
()
lessons/4_lesson_sync_primitives_2/rw_mutex_operations/main.go:5
Method
Read
Read mocks base method.
database/internal/database/storage/wal/wal_mock.go:72
Method
Read
Read indicates an expected call of Read.
database/internal/database/storage/wal/wal_mock.go:81
Method
Recover
Recover mocks base method.
database/internal/database/storage/storage_mock.go:116
Method
Recover
Recover indicates an expected call of Recover.
database/internal/database/storage/storage_mock.go:125
Method
Recover
()
database/internal/database/storage/wal/wal.go:78
Method
Release
()
lessons/4_lesson_sync_primitives_2/semaphore/main.go:32
Method
Set
Set mocks base method.
database/internal/database/database_mock.go:106
Method
Set
Set indicates an expected call of Set.
database/internal/database/database_mock.go:114
Method
Set
(context.Context, string, string)
database/internal/database/storage/storage.go:21
Method
Set
Set mocks base method.
database/internal/database/storage/storage_mock.go:67
Method
Set
Set indicates an expected call of Set.
database/internal/database/storage/storage_mock.go:73
Method
Set
Set mocks base method.
database/internal/database/storage/storage_mock.go:131
Method
Set
Set indicates an expected call of Set.
database/internal/database/storage/storage_mock.go:139
Method
Set
(ctx context.Context, key, value string)
database/internal/database/storage/engine/in_memory/engine.go:39
Method
Set
Set don't use with any goroutines
database/internal/concurrency/promise.go:17
Method
Set
(key, value string)
lessons/8_lesson_sync_algorithms_and_lock_free/sharded_map/main.go:27
Method
Set
(key, value string)
lessons/8_lesson_sync_algorithms_and_lock_free/sharded_map/main.go:58
Method
Set
(key, value string)
lessons/3_lesson_sync_primitives_1/recursive_lock/main.go:20
Method
Set
(int32, map[string]string)
lessons/9_lesson_concurrency_patterns/mvcc/scheduler.go:10
Method
Set
(key, value string)
lessons/9_lesson_concurrency_patterns/mvcc/transaction.go:31
Method
Set
(key string, value string)
lessons/9_lesson_concurrency_patterns/2pl/storage.go:16
Method
Set
(key, value string)
lessons/9_lesson_concurrency_patterns/2pl/transaction.go:36
Method
SetTimeout
SetTimeout run some function after some timeout
lessons/10_lesson_live_coding_practise/scheduler/main.go:22
Method
Start
(ctx context.Context)
database/internal/database/storage/replication/slave.go:62
Method
Start
(ctx context.Context)
database/internal/database/storage/replication/master.go:40
Function
Test1
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
Function
Test1
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
Function
Test1
(t *testing.T)
additional/lesson_testing_and_profiling/testing_in_one_package_parallel/order_test.go:17
Function
Test1
(t *testing.T)
additional/lesson_testing_and_profiling/testing_in_one_package_parallel_with_subtests/order_test.go:17
Function
Test1
go test -v
additional/lesson_testing_and_profiling/testing_in_one_package/order_test.go:10
Function
Test2
(t *testing.T)
additional/lesson_testing_and_profiling/testing_in_any_packages/first_package/order_test.go:22
Function
Test2
(t *testing.T)
additional/lesson_testing_and_profiling/testing_in_any_packages/second_package/order_test.go:22
Function
Test2
(t *testing.T)
additional/lesson_testing_and_profiling/testing_in_one_package_parallel/order_test.go:21
Function
Test2
(t *testing.T)
additional/lesson_testing_and_profiling/testing_in_one_package_parallel_with_subtests/order_test.go:31
Function
Test2
(t *testing.T)
additional/lesson_testing_and_profiling/testing_in_one_package/order_test.go:14
Function
Test3
(t *testing.T)
additional/lesson_testing_and_profiling/testing_in_one_package_parallel/order_test.go:26
Function
Test3
(t *testing.T)
additional/lesson_testing_and_profiling/testing_in_one_package_parallel_with_subtests/order_test.go:36
Function
Test4
(t *testing.T)
additional/lesson_testing_and_profiling/testing_in_any_packages/first_package/order_test.go:30
Function
Test4
(t *testing.T)
additional/lesson_testing_and_profiling/testing_in_any_packages/second_package/order_test.go:30
Function
Test4
(t *testing.T)
additional/lesson_testing_and_profiling/testing_in_one_package_parallel/order_test.go:35
Function
Test4
(t *testing.T)
additional/lesson_testing_and_profiling/testing_in_one_package_parallel_with_subtests/order_test.go:45
Function
Test4
(t *testing.T)
additional/lesson_testing_and_profiling/testing_in_one_package/order_test.go:22
Function
Test5
(t *testing.T)
additional/lesson_testing_and_profiling/testing_in_any_packages/first_package/order_test.go:26
Function
Test5
(t *testing.T)
additional/lesson_testing_and_profiling/testing_in_any_packages/second_package/order_test.go:26
Function
Test5
(t *testing.T)
additional/lesson_testing_and_profiling/testing_in_one_package_parallel/order_test.go:30
Function
Test5
(t *testing.T)
additional/lesson_testing_and_profiling/testing_in_one_package_parallel_with_subtests/order_test.go:40
Function
Test5
(t *testing.T)
additional/lesson_testing_and_profiling/testing_in_one_package/order_test.go:18
Function
TestCommandArgumentsNumber
(t *testing.T)
database/internal/database/compute/command_test.go:18
Function
TestCommandNameToCommandID
(t *testing.T)
database/internal/database/compute/command_test.go:9
Function
TestCommit
(t *testing.T)
lessons/9_lesson_concurrency_patterns/mvcc/scheduler_test.go:11
Function
TestCommit
(t *testing.T)
lessons/9_lesson_concurrency_patterns/2pl/scheduler_test.go:11
Function
TestCommitWithTheSameKeys
(t *testing.T)
lessons/9_lesson_concurrency_patterns/mvcc/scheduler_test.go:28
Function
TestCommitWithTheSameKeys
(t *testing.T)
lessons/9_lesson_concurrency_patterns/2pl/scheduler_test.go:28
Function
TestCreateEngine
(t *testing.T)
database/internal/initialization/engine_initializer_test.go:13
Function
TestCreateLogger
(t *testing.T)
database/internal/initialization/logger_initializer_test.go:12
Function
TestCreateNetwork
(t *testing.T)
database/internal/initialization/network_initializer_test.go:14
Function
TestCreateReplica
(t *testing.T)
database/internal/initialization/replication_initializer_test.go:14
Function
TestCreateWAL
(t *testing.T)
database/internal/initialization/wal_initializer_test.go:14
Function
TestDirtyRead
(t *testing.T)
lessons/9_lesson_concurrency_patterns/mvcc/scheduler_test.go:81
Function
TestDirtyRead
(t *testing.T)
lessons/9_lesson_concurrency_patterns/2pl/scheduler_test.go:81
Function
TestE2ENetwork
(t *testing.T)
database/test/e2e_network_test.go:14
Function
TestE2EWAL
(t *testing.T)
database/test/e2e_wal_test.go:15
Function
TestEngineDel
(t *testing.T)
database/internal/database/storage/engine/in_memory/engine_test.go:97
Function
TestEngineGet
(t *testing.T)
database/internal/database/storage/engine/in_memory/engine_test.go:138
Function
TestEngineSet
(t *testing.T)
database/internal/database/storage/engine/in_memory/engine_test.go:54
Function
TestGenerateID
(t *testing.T)
database/internal/database/storage/id_generator_test.go:25
Function
TestGenerateIDOverflow
(t *testing.T)
database/internal/database/storage/id_generator_test.go:48
Function
TestGoroutineLeak
(t *testing.T)
additional/lesson_testing_and_profiling/testing_leaks/leak_test.go:32
Function
TestHandleQuery
(t *testing.T)
database/internal/database/database_test.go:69
Function
TestHashTableDel
(t *testing.T)
database/internal/database/storage/engine/in_memory/hash_table_test.go:95
Function
TestHashTableGet
(t *testing.T)
database/internal/database/storage/engine/in_memory/hash_table_test.go:57
Function
TestHashTableSet
(t *testing.T)
database/internal/database/storage/engine/in_memory/hash_table_test.go:18
Function
TestIDGeneratorCreatingWithPreviousID
(t *testing.T)
database/internal/database/storage/id_generator_test.go:18
← previous
next →
501–600 of 875, ranked by callers