Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Vanilla-Beauty/MIT6.5840
/ functions
Functions
443 in github.com/Vanilla-Beauty/MIT6.5840
⨍
Functions
443
◇
Types & classes
93
Method
Len
()
src/porcupine/checker.go:31
Method
Less
(i, j int)
src/main/mrsequential.go:23
Method
Less
(i, j int)
src/mr/worker.go:28
Method
Less
(i, j int)
src/porcupine/checker.go:39
Method
LogInfoReceive
(opArgs *Op, logType int)
src/kvraft/server.go:74
Method
LogSize
Maximum log size across all servers
src/shardctrler/config.go:67
Function
MakeCoordinator
create a Coordinator. main/mrcoordinator.go calls this function. nReduce is the number of reduce tasks to use.
src/mr/coordinator.go:261
Function
Map
(filename string, contents string)
src/mrapps/jobcount.go:22
Function
Map
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 conten
src/mrapps/wc.go:19
Function
Map
(filename string, contents string)
src/mrapps/nocrash.go:26
Function
Map
The map function is called once for each file of input. This map function just returns 1 for each file
src/mrapps/early_exit.go:19
Function
Map
(filename string, contents string)
src/mrapps/mtiming.go:64
Function
Map
(filename string, contents string)
src/mrapps/rtiming.go:62
Function
Map
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
src/mrapps/indexer.go:20
Function
Map
(filename string, contents string)
src/mrapps/crash.go:34
Method
Move
(args *MoveArgs, reply *MoveReply)
src/shardctrler/server.go:165
Function
NoPartition
(history []Operation)
src/porcupine/model.go:51
Function
NoPartitionEvent
(history []Event)
src/porcupine/model.go:55
Method
NoticeResult
更新任务状态
src/mr/coordinator.go:176
Method
PutAppend
(args *PutAppendArgs, reply *PutAppendReply)
src/kvraft/server.go:229
Method
PutAppend
(args *PutAppendArgs, reply *PutAppendReply)
src/shardkv/server.go:35
Method
Query
(args *QueryArgs, reply *QueryReply)
src/shardctrler/server.go:174
Function
Reduce
(key string, values []string)
src/mrapps/jobcount.go:34
Function
Reduce
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.
src/mrapps/wc.go:37
Function
Reduce
(key string, values []string)
src/mrapps/nocrash.go:37
Function
Reduce
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.
src/mrapps/early_exit.go:28
Function
Reduce
(key string, values []string)
src/mrapps/mtiming.go:81
Function
Reduce
(key string, values []string)
src/mrapps/rtiming.go:78
Function
Reduce
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
src/mrapps/indexer.go:36
Function
Reduce
(key string, values []string)
src/mrapps/crash.go:45
Function
RegisterName
(name string, value interface{})
src/labgob/labgob.go:63
Method
RequestVote
RequestVote RPC handler.
src/raft/raft.go:893
Function
ShallowEqual
(state1, state2 interface{})
src/porcupine/model.go:59
Method
SnapshotSize
()
src/raft/persister.go:66
Method
Swap
(i, j int)
src/main/mrsequential.go:22
Method
Swap
(i, j int)
src/mr/worker.go:27
Method
Swap
(i, j int)
src/porcupine/checker.go:35
Function
TestBackup2B
(t *testing.T)
src/raft/test_test.go:495
Function
TestBasic
(t *testing.T)
src/shardctrler/test_test.go:83
Function
TestBasic
(t *testing.T)
src/labrpc/test_test.go:69
Function
TestBasic3A
(t *testing.T)
src/kvraft/test_test.go:425
Function
TestBasicAgree2B
(t *testing.T)
src/raft/test_test.go:128
Function
TestBenchmark
(t *testing.T)
src/labrpc/test_test.go:568
Function
TestBytes
test net.GetTotalBytes()
src/labrpc/test_test.go:221
Function
TestCapital
make sure we check capitalization labgob prints one warning during this test.
src/labgob/test_test.go:115
Function
TestChallenge1Delete
optional test to see whether servers are deleting shards for which they are no longer responsible.
src/shardkv/test_test.go:732
Function
TestChallenge2Partial
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 migration
src/shardkv/test_test.go:884
Function
TestChallenge2Unaffected
optional test to see whether servers can handle shards that are not affected by a config change while the config change is underway
src/shardkv/test_test.go:816
Function
TestClearFile
(t *testing.T)
src/mr/utils_test.go:9
Function
TestConcurrent1
(t *testing.T)
src/shardkv/test_test.go:302
Function
TestConcurrent2
this tests the various sources from which a re-starting group might need to fetch shard contents.
src/shardkv/test_test.go:381
Function
TestConcurrent3
(t *testing.T)
src/shardkv/test_test.go:452
Function
TestConcurrent3A
(t *testing.T)
src/kvraft/test_test.go:434
Function
TestConcurrentMany
test RPCs from concurrent ClientEnds
src/labrpc/test_test.go:275
Function
TestConcurrentOne
test concurrent RPCs from a single ClientEnd
src/labrpc/test_test.go:386
Function
TestConcurrentStarts2B
(t *testing.T)
src/raft/test_test.go:356
Function
TestCount2B
(t *testing.T)
src/raft/test_test.go:567
Function
TestCounts
test net.GetCount()
src/labrpc/test_test.go:185
Function
TestDefault
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 not
src/labgob/test_test.go:140
Function
TestDisconnect
does net.Enable(endname, false) really disconnect a client?
src/labrpc/test_test.go:146
Function
TestFailAgree2B
test that a follower participates after disconnect and re-connect.
src/raft/test_test.go:271
Function
TestFailNoAgree2B
(t *testing.T)
src/raft/test_test.go:305
Function
TestFigure82C
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 lo
src/raft/test_test.go:807
Function
TestFigure8Unreliable2C
(t *testing.T)
src/raft/test_test.go:892
Function
TestFollowerFailure2B
test just failure of followers.
src/raft/test_test.go:185
Function
TestGOB
test that we didn't break GOB.
src/labgob/test_test.go:25
Function
TestInitialElection2A
(t *testing.T)
src/raft/test_test.go:24
Function
TestJoinLeave
(t *testing.T)
src/shardkv/test_test.go:95
Function
TestKilled
if an RPC is stuck in a server, and the server is killed with DeleteServer(), does the RPC get un-stuck?
src/labrpc/test_test.go:523
Function
TestLeaderFailure2B
test just failure of leaders.
src/raft/test_test.go:230
Function
TestManyElections2A
(t *testing.T)
src/raft/test_test.go:95
Function
TestManyPartitionsManyClients3A
(t *testing.T)
src/kvraft/test_test.go:559
Function
TestManyPartitionsOneClient3A
(t *testing.T)
src/kvraft/test_test.go:554
Function
TestMissChange
(t *testing.T)
src/shardkv/test_test.go:216
Function
TestMulti
(t *testing.T)
src/shardctrler/test_test.go:255
Function
TestOnePartition3A
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
src/kvraft/test_test.go:479
Function
TestPersist12C
(t *testing.T)
src/raft/test_test.go:677
Function
TestPersist22C
(t *testing.T)
src/raft/test_test.go:723
Function
TestPersist32C
(t *testing.T)
src/raft/test_test.go:769
Function
TestPersistConcurrent3A
(t *testing.T)
src/kvraft/test_test.go:569
Function
TestPersistConcurrentUnreliable3A
(t *testing.T)
src/kvraft/test_test.go:574
Function
TestPersistOneClient3A
(t *testing.T)
src/kvraft/test_test.go:564
Function
TestPersistPartition3A
(t *testing.T)
src/kvraft/test_test.go:579
Function
TestPersistPartitionUnreliable3A
(t *testing.T)
src/kvraft/test_test.go:584
Function
TestPersistPartitionUnreliableLinearizable3A
(t *testing.T)
src/kvraft/test_test.go:589
Function
TestRPCBytes2B
check, based on counting bytes of RPCs, that each command is sent to each peer just once.
src/raft/test_test.go:153
Function
TestReElection2A
(t *testing.T)
src/raft/test_test.go:55
Function
TestRegression1
regression: an RPC that's delayed during Enabled=false should not delay subsequent RPCs (e.g. after Enabled=true).
src/labrpc/test_test.go:448
Function
TestRejoin2B
(t *testing.T)
src/raft/test_test.go:457
Function
TestReliableChurn2C
(t *testing.T)
src/raft/test_test.go:1092
Function
TestSnapshot
(t *testing.T)
src/shardkv/test_test.go:148
Function
TestSnapshotAllCrash2D
do the servers persist the snapshots, and restart using snapshot along with the tail of the log?
src/raft/test_test.go:1190
Function
TestSnapshotBasic2D
(t *testing.T)
src/raft/test_test.go:1166
Function
TestSnapshotInit2D
do servers correctly initialize their in-memory copy of the snapshot, making sure that future writes to persistent state don't lose state?
src/raft/test_test.go:1230
Function
TestSnapshotInstall2D
(t *testing.T)
src/raft/test_test.go:1170
Function
TestSnapshotInstallCrash2D
(t *testing.T)
src/raft/test_test.go:1179
Function
TestSnapshotInstallUnCrash2D
(t *testing.T)
src/raft/test_test.go:1183
Function
TestSnapshotInstallUnreliable2D
(t *testing.T)
src/raft/test_test.go:1174
Function
TestSnapshotRPC3B
if one server falls behind, then rejoins, does it recover by using the InstallSnapshot RPC? also checks that majority discards committed log entries e
src/kvraft/test_test.go:598
Function
TestSnapshotRecover3B
(t *testing.T)
src/kvraft/test_test.go:692
← previous
next →
301–400 of 443, ranked by callers