MCPcopy Create free account

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

Functions875 in github.com/Balun-courses/concurrency_go

FunctionTestIDGeneratorCreatingWithoutPreviousID
(t *testing.T)
database/internal/database/storage/id_generator_test.go:11
FunctionTestInitializer
(t *testing.T)
database/internal/initialization/initializer_test.go:13
FunctionTestLoad
(t *testing.T)
database/internal/configuration/config_test.go:35
FunctionTestMultipleSerialization
(t *testing.T)
database/internal/database/storage/wal/log_test.go:37
FunctionTestNewCompute
(t *testing.T)
database/internal/database/compute/compute_test.go:13
FunctionTestNewDatabase
mockgen -source=database.go -destination=database_mock.go -package=database
database/internal/database/database_test.go:19
FunctionTestNewEngine
(t *testing.T)
database/internal/database/storage/engine/in_memory/engine_test.go:15
FunctionTestNewHashTable
(t *testing.T)
database/internal/database/storage/engine/in_memory/hash_table_test.go:10
FunctionTestNewLogsReader
mockgen -source=logs_reader.go -destination=logs_reader_mock.go -package=wal
database/internal/database/storage/wal/logs_reader_test.go:14
FunctionTestNewLogsWriter
mockgen -source=logs_writer.go -destination=logs_writer_mock.go -package=wal
database/internal/database/storage/wal/logs_writer_test.go:18
FunctionTestNewStorage
mockgen -source=storage.go -destination=storage_mock.go -package=storage
database/internal/database/storage/storage_test.go:21
FunctionTestNewWAL
mockgen -source=wal.go -destination=wal_mock.go -package=wal
database/internal/database/storage/wal/wal_test.go:18
FunctionTestNewWriteRequest
(t *testing.T)
database/internal/database/storage/wal/write_request_test.go:13
FunctionTestNonRepeatableRead
(t *testing.T)
lessons/9_lesson_concurrency_patterns/mvcc/scheduler_test.go:110
FunctionTestNonRepeatableRead
(t *testing.T)
lessons/9_lesson_concurrency_patterns/2pl/scheduler_test.go:110
FunctionTestParallelFunction
(t *testing.T)
additional/lesson_testing_and_profiling/black_box_testing/main_test.go:25
FunctionTestParse
(t *testing.T)
database/internal/database/compute/compute_test.go:47
FunctionTestParseIncorrectSize
(t *testing.T)
database/internal/common/size_parser_test.go:73
FunctionTestParseSizeWithBytes
(t *testing.T)
database/internal/common/size_parser_test.go:9
FunctionTestParseSizeWithGigaBytes
(t *testing.T)
database/internal/common/size_parser_test.go:57
FunctionTestParseSizeWithKiloBytes
(t *testing.T)
database/internal/common/size_parser_test.go:25
FunctionTestParseSizeWithMegaBytes
(t *testing.T)
database/internal/common/size_parser_test.go:41
FunctionTestPhantomsRead
(t *testing.T)
lessons/9_lesson_concurrency_patterns/mvcc/scheduler_test.go:140
FunctionTestPhantomsRead
(t *testing.T)
lessons/9_lesson_concurrency_patterns/2pl/scheduler_test.go:139
FunctionTestProcessNumber
(t *testing.T)
additional/lesson_testing_and_profiling/white_box_testing/main_test.go:15
FunctionTestQuery
(t *testing.T)
database/internal/database/compute/query_test.go:9
FunctionTestRead
(t *testing.T)
database/internal/database/storage/wal/logs_reader_test.go:67
FunctionTestReadWithError
(t *testing.T)
database/internal/database/storage/wal/logs_reader_test.go:49
FunctionTestRequest
(t *testing.T)
database/internal/database/storage/replication/protocol_test.go:9
FunctionTestResponse
(t *testing.T)
database/internal/database/storage/replication/protocol_test.go:25
FunctionTestRollback
(t *testing.T)
lessons/9_lesson_concurrency_patterns/mvcc/scheduler_test.go:46
FunctionTestRollback
(t *testing.T)
lessons/9_lesson_concurrency_patterns/2pl/scheduler_test.go:46
FunctionTestRollbackWithTheSameKeys
(t *testing.T)
lessons/9_lesson_concurrency_patterns/mvcc/scheduler_test.go:63
FunctionTestRollbackWithTheSameKeys
(t *testing.T)
lessons/9_lesson_concurrency_patterns/2pl/scheduler_test.go:63
FunctionTestSegmentLast
(t *testing.T)
database/internal/database/filesystem/utils_test.go:29
FunctionTestSegmentUpperBound
(t *testing.T)
database/internal/database/filesystem/utils_test.go:9
FunctionTestSegmentWrite
(t *testing.T)
database/internal/database/filesystem/segment_test.go:12
FunctionTestSegmentsDirectoryForEach
(t *testing.T)
database/internal/database/filesystem/segments_directory_test.go:11
FunctionTestSegmentsDirectoryForEachWithBreak
(t *testing.T)
database/internal/database/filesystem/segments_directory_test.go:28
FunctionTestSingleSerialization
(t *testing.T)
database/internal/database/storage/wal/log_test.go:14
FunctionTestStorage
(t *testing.T)
lessons/9_lesson_concurrency_patterns/mvcc/storage_test.go:8
FunctionTestStorageDel
(t *testing.T)
database/internal/database/storage/storage_test.go:189
FunctionTestStorageGet
(t *testing.T)
database/internal/database/storage/storage_test.go:291
FunctionTestStorageSet
(t *testing.T)
database/internal/database/storage/storage_test.go:87
FunctionTestStorageWithReplicationStream
(t *testing.T)
database/internal/database/storage/storage_test.go:338
FunctionTestTCPClient
(t *testing.T)
database/internal/network/tcp_client_test.go:14
FunctionTestTCPServer
(t *testing.T)
database/internal/network/tcp_server_test.go:15
FunctionTestWALFlushBySize
(t *testing.T)
database/internal/database/storage/wal/wal_test.go:91
FunctionTestWALFlushByTimeout
(t *testing.T)
database/internal/database/storage/wal/wal_test.go:60
FunctionTestWithClientBufferSize
(t *testing.T)
database/internal/network/network_options_test.go:22
FunctionTestWithClientIdleTimeout
(t *testing.T)
database/internal/network/network_options_test.go:10
FunctionTestWithPartitions
(t *testing.T)
database/internal/database/storage/engine/in_memory/engine_options_test.go:9
FunctionTestWithReplication
(t *testing.T)
database/internal/database/storage/storage_options_test.go:37
FunctionTestWithReplicationStream
(t *testing.T)
database/internal/database/storage/storage_options_test.go:12
FunctionTestWithServerBufferSize
(t *testing.T)
database/internal/network/network_options_test.go:46
FunctionTestWithServerIdleTimeout
(t *testing.T)
database/internal/network/network_options_test.go:34
FunctionTestWithServerMaxConnectionsNumber
(t *testing.T)
database/internal/network/network_options_test.go:58
FunctionTestWithWAL
(t *testing.T)
database/internal/database/storage/storage_options_test.go:24
FunctionTestWrite
(t *testing.T)
database/internal/database/storage/wal/logs_writer_test.go:93
FunctionTestWriteRequest
(t *testing.T)
database/internal/database/storage/wal/write_request_test.go:40
FunctionTestWriteRequestWithError
(t *testing.T)
database/internal/database/storage/wal/write_request_test.go:26
FunctionTestWriteSkew
(t *testing.T)
lessons/9_lesson_concurrency_patterns/mvcc/scheduler_test.go:162
FunctionTestWriteWithErrors
(t *testing.T)
database/internal/database/storage/wal/logs_writer_test.go:60
MethodTryLockFor
(duration time.Duration)
lessons/4_lesson_sync_primitives_2/timed_mutex_implementation/main.go:24
MethodUnlock
additional/open_lessons/mutex_internals/memory_barriers/main.cpp:42
MethodUnlock
(index int)
lessons/4_lesson_sync_primitives_2/broken_mutex_3/main.go:30
MethodUnlock
()
lessons/4_lesson_sync_primitives_2/recursive_mutex_implementation/main.go:57
MethodUnlock
()
lessons/4_lesson_sync_primitives_2/timed_mutex_implementation/main.go:39
MethodUnlock
()
lessons/4_lesson_sync_primitives_2/broken_mutex_2/main.go:25
MethodUnlock
()
lessons/4_lesson_sync_primitives_2/spinlock_with_yield/main.go:27
MethodUnlock
()
lessons/4_lesson_sync_primitives_2/broken_mutex_1/main.go:23
MethodUnlock
()
lessons/4_lesson_sync_primitives_2/ticket_lock/main.go:24
MethodUnlock
()
lessons/4_lesson_sync_primitives_2/spinlock_combined/main.go:34
FunctionUnlockRLockedMutex
()
lessons/4_lesson_sync_primitives_2/rw_mutex_operations/main.go:11
MethodWithAcquire
(action func())
database/internal/concurrency/semaphore.go:29
FunctionWithLock
(mutex sync.Locker, action func())
database/internal/concurrency/lock.go:5
MethodWithSemaphore
(action func())
lessons/6_lesson_channel_patterns/semaphore/main.go:27
MethodWrite
Write mocks base method.
database/internal/database/storage/wal/logs_writer_mock.go:37
MethodWrite
Write indicates an expected call of Write.
database/internal/database/storage/wal/logs_writer_mock.go:45
MethodWrite
Write mocks base method.
database/internal/database/storage/wal/wal_mock.go:37
MethodWrite
Write indicates an expected call of Write.
database/internal/database/storage/wal/wal_mock.go:43
FunctioncloseChannelAnyTimes
()
lessons/5_lesson_channels/operations_with_channel/main.go:73
FunctioncloseNilChannel
()
lessons/5_lesson_channels/operations_with_channel/main.go:68
Methodcommit
Only "Snapshot Isolation" without "Serializable Snapshot Isolation"
lessons/9_lesson_concurrency_patterns/mvcc/scheduler.go:57
Methodcommit
(int32, map[string]string)
lessons/9_lesson_concurrency_patterns/mvcc/transaction.go:9
Methodcommit
(operations []txOperation)
lessons/9_lesson_concurrency_patterns/2pl/scheduler.go:99
FunctioncompareChannels
()
lessons/5_lesson_channels/operations_with_channel/main.go:79
FunctioncorrectCheck
(ctx context.Context, stream <-chan string)
lessons/7_lesson_contexts_and_memory_barriers/chech_cancel/main.go:10
Functioncp
go test -bench=. go test -bench=. -benchmem go test -bench=. -cpuprofile=profile.out go tool pprof profile.out top top 20 top 20 -cum list cp list r
additional/lesson_testing_and_profiling/benchmark_profile/bench_test.go:28
FunctiondoSomething
()
lessons/3_lesson_sync_primitives_1/defer_with_mutex/main.go:11
FunctiondoSomething
()
lessons/3_lesson_sync_primitives_1/lock_granularity/main.go:11
FunctiondoSomething
()
lessons/3_lesson_sync_primitives_1/incorrect_defer_with_mutex/main.go:13
FunctiondoSomething
()
lessons/3_lesson_sync_primitives_1/incorrect_defer_with_loop/main.go:12
Methodfirst
(printFirst func())
lessons/4_lesson_sync_primitives_2/print_in_order/main.go:10
Methodget
(txId int32, key string)
lessons/9_lesson_concurrency_patterns/mvcc/scheduler.go:39
Methodget
(int32, string)
lessons/9_lesson_concurrency_patterns/mvcc/transaction.go:8
Methodget
(txId int32, key string)
lessons/9_lesson_concurrency_patterns/2pl/scheduler.go:74
Functionhandle
(_ http.ResponseWriter, r *http.Request)
lessons/7_lesson_contexts_and_memory_barriers/context_with_http_server/main.go:15
FunctionincorrectCheck
(ctx context.Context, stream <-chan string)
lessons/7_lesson_contexts_and_memory_barriers/chech_cancel/main.go:5
FunctionlockAnyTimes
()
lessons/3_lesson_sync_primitives_1/mutex_operations/main.go:5
← previousnext →601–700 of 875, ranked by callers