MCPcopy Create free account

hub / github.com/1345414527/MIT6.824-2022 / functions

Functions474 in github.com/1345414527/MIT6.824-2022

FunctionCheckEvents
(model Model, history []Event)
porcupine/porcupine.go:23
FunctionCheckEventsTimeout
timeout = 0 means no timeout if this operation times out, then a false positive is possible
porcupine/porcupine.go:30
FunctionCheckEventsVerbose
timeout = 0 means no timeout if this operation times out, then a false positive is possible
porcupine/porcupine.go:37
FunctionCheckOperations
(model Model, history []Operation)
porcupine/porcupine.go:5
FunctionCheckOperationsTimeout
timeout = 0 means no timeout if this operation times out, then a false positive is possible
porcupine/porcupine.go:12
MethodCleanShardData
请求清除shard
shardkv/server_shard.go:52
MethodConnectClient
(ck *Clerk, to []int)
shardctrler/config.go:205
FunctionDefaultDescribeOperation
(input interface{}, output interface{})
porcupine/model.go:63
FunctionDefaultDescribeState
(state interface{})
porcupine/model.go:67
MethodDisconnectClient
(ck *Clerk, from []int)
shardctrler/config.go:221
MethodDisconnectClient
(ck *Clerk, from []int)
kvraft/config.go:248
MethodFetchShardData
* RPC,针对output shard */ 请求获取shard
shardkv/server_shard.go:22
MethodGet
处理Get rpc
kvraft/server.go:118
MethodGet
* Get和PutAppend RPC的处理 */
shardkv/server_op.go:37
MethodGetCount
get a server's count of incoming RPCs.
labrpc/labrpc.go:368
MethodGetOneTask
Your code here -- RPC handlers for the worker to call. 处理Rpc请求:获取任务
mr/coordinator.go:148
MethodHandler1
(args string, reply *int)
labrpc/test_test.go:23
MethodHandler2
(args int, reply *string)
labrpc/test_test.go:30
MethodHandler3
(args int, reply *int)
labrpc/test_test.go:37
MethodHandler4
args is a pointer
labrpc/test_test.go:45
MethodHandler5
args is a not pointer
labrpc/test_test.go:50
MethodHandler6
(args string, reply *int)
labrpc/test_test.go:54
MethodHandler7
(args int, reply *string)
labrpc/test_test.go:60
MethodInstallSnapshot
(args *InstallSnapshotArgs, reply *InstallSnapshotReply)
raft/raft_snapshot.go:19
MethodJoin
* rpc */
shardctrler/server.go:102
MethodLeave
(args *LeaveArgs, reply *LeaveReply)
shardctrler/server.go:111
MethodLen
for sorting by key.
main/mrsequential.go:21
MethodLen
()
porcupine/checker.go:31
MethodLess
(i, j int)
main/mrsequential.go:23
MethodLess
(i, j int)
porcupine/checker.go:39
MethodLogSize
Maximum log size across all servers
shardctrler/config.go:67
FunctionMap
(filename string, contents string)
mrapps/jobcount.go:22
FunctionMap
The map function is called once for each file of input. The first argument is the name of the input file, and the second is the file's complete conte
mrapps/wc.go:21
FunctionMap
(filename string, contents string)
mrapps/nocrash.go:26
FunctionMap
The map function is called once for each file of input. This map function just returns 1 for each file
mrapps/early_exit.go:21
FunctionMap
(filename string, contents string)
mrapps/mtiming.go:64
FunctionMap
(filename string, contents string)
mrapps/rtiming.go:62
FunctionMap
The mapping function is called once for each piece of the input. In this framework, the key is the name of the file that is being processed, and the v
mrapps/indexer.go:20
FunctionMap
(filename string, contents string)
mrapps/crash.go:34
MethodMove
(args *MoveArgs, reply *MoveReply)
shardctrler/server.go:119
FunctionNoPartition
(history []Operation)
porcupine/model.go:51
FunctionNoPartitionEvent
(history []Event)
porcupine/model.go:55
MethodPutAppend
处理Put rpc
kvraft/server.go:144
MethodPutAppend
(args *PutAppendArgs, reply *PutAppendReply)
shardkv/server_op.go:44
MethodQuery
(args *QueryArgs, reply *QueryReply)
shardctrler/server.go:127
FunctionReduce
(key string, values []string)
mrapps/jobcount.go:34
FunctionReduce
The reduce function is called once for each key generated by the map tasks, with a list of all the values created for that key by any map task.
mrapps/wc.go:41
FunctionReduce
(key string, values []string)
mrapps/nocrash.go:37
FunctionReduce
The reduce function is called once for each key generated by the map tasks, with a list of all the values created for that key by any map task.
mrapps/early_exit.go:32
FunctionReduce
(key string, values []string)
mrapps/mtiming.go:81
FunctionReduce
(key string, values []string)
mrapps/rtiming.go:78
FunctionReduce
The reduce function is called once for each key generated by Map, with a list of that key's string value (merged across all inputs). The return value
mrapps/indexer.go:36
FunctionReduce
(key string, values []string)
mrapps/crash.go:45
MethodRegWorker
处理Rpc请求:注册worker
mr/coordinator.go:169
FunctionRegisterName
(name string, value interface{})
labgob/labgob.go:63
MethodReportTask
处理Rpc请求:worker响应task完成情况
mr/coordinator.go:179
MethodRequestVote
example RequestVote RPC handler.
raft/raft_vote.go:32
FunctionShallowEqual
(state1, state2 interface{})
porcupine/model.go:59
MethodSnapshotSize
()
raft/persister.go:72
MethodSwap
(i, j int)
main/mrsequential.go:22
MethodSwap
(i, j int)
porcupine/checker.go:35
FunctionTestBackup2B
(t *testing.T)
raft/test_test.go:509
FunctionTestBasic
(t *testing.T)
shardctrler/test_test.go:81
FunctionTestBasic
(t *testing.T)
labrpc/test_test.go:69
FunctionTestBasic3A
(t *testing.T)
kvraft/test_test.go:426
FunctionTestBasicAgree2B
(t *testing.T)
raft/test_test.go:133
FunctionTestBenchmark
(t *testing.T)
labrpc/test_test.go:568
FunctionTestBytes
test net.GetTotalBytes()
labrpc/test_test.go:221
FunctionTestCapital
make sure we check capitalization labgob prints one warning during this test.
labgob/test_test.go:119
FunctionTestChallenge1Delete
optional test to see whether servers are deleting shards for which they are no longer responsible.
shardkv/test_test.go:744
FunctionTestChallenge2Partial
optional test to see whether servers can handle operations on shards that have been received as a part of a config migration when the entire migratio
shardkv/test_test.go:900
FunctionTestChallenge2Unaffected
optional test to see whether servers can handle shards that are not affected by a config change while the config change is underway
shardkv/test_test.go:830
FunctionTestConcurrent1
(t *testing.T)
shardkv/test_test.go:307
FunctionTestConcurrent2
this tests the various sources from which a re-starting group might need to fetch shard contents.
shardkv/test_test.go:388
FunctionTestConcurrent3
(t *testing.T)
shardkv/test_test.go:459
FunctionTestConcurrent3A
(t *testing.T)
kvraft/test_test.go:435
FunctionTestConcurrentMany
test RPCs from concurrent ClientEnds
labrpc/test_test.go:275
FunctionTestConcurrentOne
test concurrent RPCs from a single ClientEnd
labrpc/test_test.go:386
FunctionTestConcurrentStarts2B
(t *testing.T)
raft/test_test.go:370
FunctionTestCount2B
(t *testing.T)
raft/test_test.go:581
FunctionTestCounts
test net.GetCount()
labrpc/test_test.go:185
FunctionTestDefault
check that we warn when someone sends a default value over RPC but the target into which we're decoding holds a non-default value, which GOB seems no
labgob/test_test.go:146
FunctionTestDisconnect
does net.Enable(endname, false) really disconnect a client?
labrpc/test_test.go:146
FunctionTestFailAgree2B
test that a follower participates after disconnect and re-connect.
raft/test_test.go:285
FunctionTestFailNoAgree2B
(t *testing.T)
raft/test_test.go:319
FunctionTestFigure82C
Test the scenarios described in Figure 8 of the extended Raft paper. Each iteration asks a leader, if there is one, to insert a command in the Raft l
raft/test_test.go:823
FunctionTestFigure8Unreliable2C
(t *testing.T)
raft/test_test.go:908
FunctionTestFor2023TestFollowerFailure2B
test just failure of followers.
raft/test_test.go:195
FunctionTestFor2023TestLeaderFailure2B
test just failure of leaders.
raft/test_test.go:242
FunctionTestGOB
test that we didn't break GOB.
labgob/test_test.go:27
FunctionTestInitialElection2A
TestInitialElection测试启动后Raft集群是否能够选出一个leader, 并检查在网络稳定的情况,也就是不应该发生心跳信号等待超时的情况下, 是否能保持原来的leader和term状态不变。
raft/test_test.go:25
FunctionTestJoinLeave
(t *testing.T)
shardkv/test_test.go:100
FunctionTestKilled
if an RPC is stuck in a server, and the server is killed with DeleteServer(), does the RPC get un-stuck?
labrpc/test_test.go:523
FunctionTestManyElections2A
TestManyElections测试是上一个测试的现实版本。每次随机令2个服务器离线,检查集群状态是否符合要求。如此重复10次。
raft/test_test.go:100
FunctionTestManyPartitionsManyClients3A
(t *testing.T)
kvraft/test_test.go:560
FunctionTestManyPartitionsOneClient3A
(t *testing.T)
kvraft/test_test.go:555
FunctionTestMissChange
(t *testing.T)
shardkv/test_test.go:221
FunctionTestMulti
(t *testing.T)
shardctrler/test_test.go:253
FunctionTestOnePartition3A
Submit a request in the minority partition and check that the requests doesn't go through until the partition heals. The leader in the original netwo
kvraft/test_test.go:480
FunctionTestPersist12C
(t *testing.T)
raft/test_test.go:691
← previousnext →301–400 of 474, ranked by callers