Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chaozh/MIT-6.824
/ functions
Functions
379 in github.com/chaozh/MIT-6.824
⨍
Functions
379
◇
Types & classes
79
↓ 1 callers
Method
readPersist
restore previously persisted state.
src/raft/raft.go:99
↓ 1 callers
Function
renumber
(events []Event)
src/porcupine/checker.go:87
↓ 1 callers
Function
run_client
a client runs the function f and then signals it is done
src/kvraft/test_test.go:99
↓ 1 callers
Method
server
start a thread that listens for RPCs from worker.go
src/mr/coordinator.go:31
↓ 1 callers
Method
setlongreordering
(longrel bool)
src/raft/config.go:366
↓ 1 callers
Method
shardclerk
()
src/shardkv/config.go:292
↓ 1 callers
Method
ticker
The ticker go routine starts a new election if this peer hasn't received heartsbeats recently.
src/raft/raft.go:246
↓ 1 callers
Function
unlift
(entry *node)
src/porcupine/checker.go:164
↓ 1 callers
Function
usage
()
src/main/pbc.go:25
Method
Append
(key string, value string)
src/kvraft/client.go:62
Function
CallExample
example function to show how to make an RPC call to the coordinator. the RPC argument and reply types are defined in rpc.go.
src/mr/worker.go:46
Function
CheckEvents
(model Model, history []Event)
src/porcupine/porcupine.go:23
Function
CheckEventsTimeout
timeout = 0 means no timeout if this operation times out, then a false positive is possible
src/porcupine/porcupine.go:30
Function
CheckEventsVerbose
timeout = 0 means no timeout if this operation times out, then a false positive is possible
src/porcupine/porcupine.go:37
Function
CheckOperations
(model Model, history []Operation)
src/porcupine/porcupine.go:5
Function
CheckOperationsTimeout
timeout = 0 means no timeout if this operation times out, then a false positive is possible
src/porcupine/porcupine.go:12
Function
CheckOperationsVerbose
timeout = 0 means no timeout if this operation times out, then a false positive is possible
src/porcupine/porcupine.go:19
Method
ConnectClient
(ck *Clerk, to []int)
src/shardctrler/config.go:205
Function
DPrintf
(format string, a ...interface{})
src/kvraft/server.go:14
Function
DPrintf
(format string, a ...interface{})
src/raft/util.go:8
Function
DefaultDescribeOperation
(input interface{}, output interface{})
src/porcupine/model.go:63
Function
DefaultDescribeState
(state interface{})
src/porcupine/model.go:67
Method
DisconnectClient
(ck *Clerk, from []int)
src/shardctrler/config.go:221
Method
DisconnectClient
(ck *Clerk, from []int)
src/kvraft/config.go:248
Method
Example
Your code here -- RPC handlers for the worker to call. an example RPC handler. the RPC argument and reply types are defined in rpc.go.
src/mr/coordinator.go:22
Method
Get
(args *GetArgs, reply *GetReply)
src/kvraft/server.go:41
Method
Get
(args *GetArgs, reply *GetReply)
src/shardkv/server.go:31
Method
GetCount
get a server's count of incoming RPCs.
src/labrpc/labrpc.go:364
Method
Handler1
(args string, reply *int)
src/labrpc/test_test.go:23
Method
Handler2
(args int, reply *string)
src/labrpc/test_test.go:30
Method
Handler3
(args int, reply *int)
src/labrpc/test_test.go:37
Method
Handler4
args is a pointer
src/labrpc/test_test.go:45
Method
Handler5
args is a not pointer
src/labrpc/test_test.go:50
Method
Handler6
(args string, reply *int)
src/labrpc/test_test.go:54
Method
Handler7
(args int, reply *string)
src/labrpc/test_test.go:60
Method
Join
(args *JoinArgs, reply *JoinReply)
src/shardctrler/server.go:27
Method
Leave
(args *LeaveArgs, reply *LeaveReply)
src/shardctrler/server.go:31
Method
Len
for sorting by key.
src/main/mrsequential.go:21
Method
Len
()
src/porcupine/checker.go:31
Method
Less
(i, j int)
src/main/mrsequential.go:23
Method
Less
(i, j int)
src/porcupine/checker.go:39
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:62
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 conte
src/mrapps/wc.go:21
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:21
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:35
Function
NoPartition
(history []Operation)
src/porcupine/model.go:51
Function
NoPartitionEvent
(history []Event)
src/porcupine/model.go:55
Method
PutAppend
(args *PutAppendArgs, reply *PutAppendReply)
src/kvraft/server.go:45
Method
PutAppend
(args *PutAppendArgs, reply *PutAppendReply)
src/shardkv/server.go:35
Method
Query
(args *QueryArgs, reply *QueryReply)
src/shardctrler/server.go:39
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:41
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:32
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
example RequestVote RPC handler.
src/raft/raft.go:159
Method
SaveRaftState
(state []byte)
src/raft/persister.go:39
Function
ShallowEqual
(state1, state2 interface{})
src/porcupine/model.go:59
Method
SnapshotSize
()
src/raft/persister.go:72
Method
Swap
(i, j int)
src/main/mrsequential.go:22
Method
Swap
(i, j int)
src/porcupine/checker.go:35
Function
TestBackup2B
(t *testing.T)
src/raft/test_test.go:404
Function
TestBasic
(t *testing.T)
src/shardctrler/test_test.go:81
Function
TestBasic
(t *testing.T)
src/labrpc/test_test.go:69
Function
TestBasic3A
(t *testing.T)
src/kvraft/test_test.go:419
Function
TestBasicAgree2B
(t *testing.T)
src/raft/test_test.go:122
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:119
Function
TestChallenge1Delete
optional test to see whether servers are deleting shards for which they are no longer responsible.
src/shardkv/test_test.go:738
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 migratio
src/shardkv/test_test.go:894
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:824
Function
TestConcurrent1
(t *testing.T)
src/shardkv/test_test.go:304
Function
TestConcurrent2
this tests the various sources from which a re-starting group might need to fetch shard contents.
src/shardkv/test_test.go:385
Function
TestConcurrent3
(t *testing.T)
src/shardkv/test_test.go:456
Function
TestConcurrent3A
(t *testing.T)
src/kvraft/test_test.go:428
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:265
Function
TestCount2B
(t *testing.T)
src/raft/test_test.go:476
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 no
src/labgob/test_test.go:146
Function
TestDisconnect
does net.Enable(endname, false) really disconnect a client?
src/labrpc/test_test.go:146
Function
TestFailAgree2B
(t *testing.T)
src/raft/test_test.go:180
Function
TestFailNoAgree2B
(t *testing.T)
src/raft/test_test.go:214
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 l
src/raft/test_test.go:718
Function
TestFigure8Unreliable2C
(t *testing.T)
src/raft/test_test.go:803
Function
TestGOB
test that we didn't break GOB.
src/labgob/test_test.go:27
Function
TestInitialElection2A
(t *testing.T)
src/raft/test_test.go:22
← previous
next →
201–300 of 379, ranked by callers