Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WenbinZhu/mit-6.824-labs
/ functions
Functions
386 in github.com/WenbinZhu/mit-6.824-labs
⨍
Functions
386
◇
Types & classes
90
↓ 1 callers
Function
lift
(entry *node)
src/porcupine/checker.go:154
↓ 1 callers
Function
loadPlugin
load the application Map and Reduce functions from a plugin file, e.g. ../mrapps/wc.so
src/main/mrsequential.go:93
↓ 1 callers
Function
loadPlugin
load the application Map and Reduce functions from a plugin file, e.g. ../mrapps/wc.so
src/main/mrworker.go:34
↓ 1 callers
Function
makeEntries
(history []Operation)
src/porcupine/checker.go:43
↓ 1 callers
Function
makeLinkedEntries
(entries []entry)
src/porcupine/checker.go:116
↓ 1 callers
Function
makeSeed
()
src/kvraft/config.go:26
↓ 1 callers
Function
makeSeed
()
src/raft/config.go:30
↓ 1 callers
Function
makeSeed
()
src/shardkv/config.go:27
↓ 1 callers
Method
make_partition
Partition servers into 2 groups and put current leader in minority
src/kvraft/config.go:339
↓ 1 callers
Function
newBitset
data layout: bits 0-63 are in data[0], the next are in data[1], etc.
src/porcupine/bitset.go:10
↓ 1 callers
Function
nparallel
(phase string)
src/mrapps/mtiming.go:19
↓ 1 callers
Function
nparallel
(phase string)
src/mrapps/rtiming.go:17
↓ 1 callers
Function
nrand
()
src/kvraft/client.go:18
↓ 1 callers
Method
popcnt
()
src/porcupine/bitset.go:46
↓ 1 callers
Method
processReq
(req reqMsg)
src/labrpc/labrpc.go:216
↓ 1 callers
Function
random_handles
Randomize server handles
src/shardmaster/config.go:24
↓ 1 callers
Function
random_handles
Randomize server handles
src/kvraft/config.go:34
↓ 1 callers
Method
readEndnameInfo
(endname interface{})
src/labrpc/labrpc.go:190
↓ 1 callers
Method
readPersist
restore previously persisted state.
src/raft/raft.go:130
↓ 1 callers
Function
renumber
(events []Event)
src/porcupine/checker.go:87
↓ 1 callers
Function
requestTask
()
src/mr/worker.go:200
↓ 1 callers
Method
runServer
main server loop.
src/raft/raft.go:660
↓ 1 callers
Function
run_client
a client runs the function f and then signals it is done
src/kvraft/test_test.go:47
↓ 1 callers
Method
sendAppendEntries
send a AppendEntries RPC to a server.
src/raft/raft.go:453
↓ 1 callers
Method
sendRequestVote
send a RequestVote RPC to a server. server is the index of the target server in rf.peers[]. expects RPC arguments in args. fills in *reply with RPC r
src/raft/raft.go:329
↓ 1 callers
Method
server
start a thread that listens for RPCs from worker.go
src/mr/master.go:160
↓ 1 callers
Method
setlongreordering
(longrel bool)
src/raft/config.go:296
↓ 1 callers
Method
shardclerk
()
src/shardkv/config.go:289
↓ 1 callers
Function
unlift
(entry *node)
src/porcupine/checker.go:164
↓ 1 callers
Function
usage
()
src/main/pbc.go:25
↓ 1 callers
Method
waitForTask
(task *Task)
src/mr/master.go:140
↓ 1 callers
Function
writeMapOutput
(kva []KeyValue, mapId int)
src/mr/worker.go:98
↓ 1 callers
Function
writeReduceOutput
(reducef func(string, []string) string, kvMap map[string][]string, reduceId int)
src/mr/worker.go:163
Method
AppendEntries
AppendEntries RPC handler.
src/raft/raft.go:384
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/shardmaster/config.go:205
Function
DPrintf
(format string, a ...interface{})
src/kvraft/server.go:15
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/shardmaster/config.go:221
Method
DisconnectClient
(ck *Clerk, from []int)
src/kvraft/config.go:248
Method
Get
Get RPC handler
src/kvraft/server.go:53
Method
Get
(args *GetArgs, reply *GetReply)
src/shardkv/server.go:32
Method
GetCount
get a server's count of incoming RPCs.
src/labrpc/labrpc.go:362
Method
GetReduceCount
Your code here -- RPC handlers for the worker to call. GetReduceCount RPC handler.
src/mr/master.go:57
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/shardmaster/server.go:27
Method
Leave
(args *LeaveArgs, reply *LeaveReply)
src/shardmaster/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/shardmaster/config.go:67
Function
MakeMaster
create a Master. main/mrmaster.go calls this function. nReduce is the number of reduce tasks to use.
src/mr/master.go:190
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
(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/shardmaster/server.go:35
Function
NoPartition
(history []Operation)
src/porcupine/model.go:51
Function
NoPartitionEvent
(history []Event)
src/porcupine/model.go:55
Method
PutAppend
PutAppend RPC handler
src/kvraft/server.go:75
Method
PutAppend
(args *PutAppendArgs, reply *PutAppendReply)
src/shardkv/server.go:36
Method
Query
(args *QueryArgs, reply *QueryReply)
src/shardmaster/server.go:39
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
(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
ReportTaskDone
RequestTask RPC handler.
src/mr/master.go:95
Method
RequestTask
RequestTask RPC handler.
src/mr/master.go:69
Method
RequestVote
RequestVote RPC handler.
src/raft/raft.go:273
Method
SaveStateAndSnapshot
Save both Raft state and K/V snapshot as a single atomic action, to help avoid them getting out of sync.
src/raft/persister.go:53
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/porcupine/checker.go:35
Function
TestBackup2B
(t *testing.T)
src/raft/test_test.go:371
Function
TestBasic
(t *testing.T)
src/shardmaster/test_test.go:80
Function
TestBasic
(t *testing.T)
src/labrpc/test_test.go:69
Function
TestBasic3A
(t *testing.T)
src/kvraft/test_test.go:448
Function
TestBasicAgree2B
(t *testing.T)
src/raft/test_test.go:89
Function
TestBenchmark
(t *testing.T)
src/labrpc/test_test.go:568
Function
TestBytes
test net.GetTotalBytes()
src/labrpc/test_test.go:221
← previous
next →
201–300 of 386, ranked by callers