Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AdrianHsu/MIT-6.824-Lab
/ functions
Functions
418 in github.com/AdrianHsu/MIT-6.824-Lab
⨍
Functions
418
◇
Types & classes
121
↓ 5 callers
Function
pp
(tag string, src int, dst int)
hw3/src/kvpaxos/test_test.go:191
↓ 5 callers
Function
waitmajority
(t *testing.T, pxa []*Paxos, seq int)
hw4/src/paxos/test_test.go:68
↓ 5 callers
Function
waitmajority
(t *testing.T, pxa []*Paxos, seq int)
hw3/src/paxos/test_test.go:71
↓ 4 callers
Method
Kill
please don't change these two functions.
hw4/src/shardmaster/server.go:261
↓ 4 callers
Function
NextValue
predict effect of Append(k, val) if old value is prev.
hw4/src/kvpaxos/test_test.go:40
↓ 4 callers
Function
NextValue
predict effect of Append(k, val) if old value is prev.
hw3/src/kvpaxos/test_test.go:42
↓ 4 callers
Method
Propose
(xop Op)
hw4/src/shardmaster/server.go:178
↓ 4 callers
Function
call
call() sends an RPC to the rpcname handler on server srv with arguments args, waits for the reply, and leaves the reply in reply. the reply argument
hw4/src/shardmaster/client.go:39
↓ 4 callers
Function
cleanpp
(tag string, n int)
hw4/src/kvpaxos/test_test.go:199
↓ 4 callers
Function
cleanpp
(tag string, n int)
hw3/src/kvpaxos/test_test.go:201
↓ 4 callers
Method
cleanup
()
hw4/src/shardkv/test_test.go:52
↓ 4 callers
Method
isdead
has this peer been asked to shut down?
hw4/src/paxos/paxos.go:580
↓ 4 callers
Method
isdead
has this server been asked to shut down?
hw4/src/viewservice/server.go:67
↓ 4 callers
Method
isdead
call this to find out if the server is dead.
hw4/src/shardkv/server.go:469
↓ 4 callers
Method
isdead
call this to find out if the server is dead.
hw4/src/pbservice/server.go:64
↓ 4 callers
Method
isdead
has this server been asked to shut down?
hw2/src/viewservice/server.go:224
↓ 4 callers
Method
isdead
call this to find out if the server is dead.
hw2/src/pbservice/server.go:292
↓ 4 callers
Method
isdead
has this peer been asked to shut down?
hw3/src/paxos/paxos.go:580
↓ 4 callers
Method
isdead
has this server been asked to shut down?
hw3/src/viewservice/server.go:67
↓ 4 callers
Method
isdead
call this to find out if the server is dead.
hw3/src/pbservice/server.go:64
↓ 4 callers
Function
key2shard
which shard is a key in? please use this function, and please do not change it.
hw4/src/shardkv/client.go:76
↓ 4 callers
Method
kill
tell the server to shut itself down. please don't change these two functions.
hw4/src/shardkv/server.go:462
↓ 4 callers
Function
port
(suffix string)
hw4/src/viewservice/test_test.go:26
↓ 4 callers
Function
port
(suffix string)
hw2/src/viewservice/test_test.go:31
↓ 4 callers
Function
port
(suffix string)
hw3/src/viewservice/test_test.go:26
↓ 4 callers
Function
pp
(tag string, src int, dst int)
hw4/src/paxos/test_test.go:712
↓ 4 callers
Function
pp
(tag string, src int, dst int)
hw3/src/paxos/test_test.go:720
↓ 4 callers
Function
setup
(t *testing.T, tag string, unreliable bool)
hw4/src/shardkv/test_test.go:85
↓ 3 callers
Function
MakeClerk
(me string, server string)
hw4/src/viewservice/client.go:15
↓ 3 callers
Function
MakeClerk
(me string, server string)
hw2/src/viewservice/client.go:15
↓ 3 callers
Function
MakeClerk
(me string, server string)
hw3/src/viewservice/client.go:15
↓ 3 callers
Function
MergeName
(fileName string, ReduceJob int)
hw1/src/mapreduce/mapreduce.go:248
↓ 3 callers
Method
Move
(shard int, gid int64)
hw4/src/shardmaster/client.go:105
↓ 3 callers
Function
ReduceName
(fileName string, MapJob int, ReduceJob int)
hw1/src/mapreduce/mapreduce.go:196
↓ 3 callers
Function
StartServer
servers[] contains the ports of the set of servers that will cooperate via Paxos to form the fault-tolerant shardmaster service. me is the index of t
hw4/src/shardmaster/server.go:291
↓ 3 callers
Function
call
call() sends an RPC to the rpcname handler on server srv with arguments args, waits for the reply, and leaves the reply in reply. the reply argument
hw4/src/paxos/paxos.go:89
↓ 3 callers
Function
call
call() sends an RPC to the rpcname handler on server srv with arguments args, waits for the reply, and leaves the reply in reply. the reply argument
hw4/src/shardkv/client.go:54
↓ 3 callers
Function
call
call() sends an RPC to the rpcname handler on server srv with arguments args, waits for the reply, and leaves the reply in reply. the reply argument
hw3/src/paxos/paxos.go:89
↓ 3 callers
Method
changeView
(newview viewservice.View)
hw2/src/pbservice/server.go:260
↓ 3 callers
Function
check
Checks input file against output file: each input number should show up in the output file in string sorted order
hw1/src/mapreduce/test_test.go:45
↓ 3 callers
Function
checkAppends
check that all known appends are present in a value, and are in order for each concurrent client.
hw4/src/pbservice/test_test.go:419
↓ 3 callers
Function
checkAppends
check that all known appends are present in a value, and are in order for each concurrent client.
hw2/src/pbservice/test_test.go:424
↓ 3 callers
Function
checkAppends
check that all known appends are present in a value, and are in order for each concurrent client.
hw3/src/pbservice/test_test.go:419
↓ 3 callers
Method
checkNewBackup
edited by Adrian to detect if the backup has changed
hw2/src/pbservice/server.go:246
↓ 3 callers
Function
cleanpp
(tag string, n int)
hw4/src/paxos/test_test.go:722
↓ 3 callers
Function
cleanpp
(tag string, n int)
hw3/src/paxos/test_test.go:730
↓ 3 callers
Function
cleanup
(sma []*ShardMaster)
hw4/src/shardmaster/test_test.go:23
↓ 3 callers
Function
cleanup
(mr *MapReduce)
hw1/src/mapreduce/test_test.go:131
↓ 3 callers
Method
isdead
call this to find out if the server is dead.
hw4/src/shardmaster/server.go:268
↓ 3 callers
Method
isdead
call this to find out if the server is dead.
hw4/src/kvpaxos/server.go:176
↓ 3 callers
Method
isdead
call this to find out if the server is dead.
hw3/src/kvpaxos/server.go:233
↓ 3 callers
Function
port
(tag string, host int)
hw4/src/shardmaster/test_test.go:12
↓ 3 callers
Function
randclerk
(kvh []string)
hw4/src/kvpaxos/test_test.go:330
↓ 3 callers
Function
randclerk
(kvh []string)
hw3/src/kvpaxos/test_test.go:332
↓ 3 callers
Method
replace
edited by Adrian
hw2/src/viewservice/server.go:125
↓ 3 callers
Method
setunreliable
please do not change these two functions.
hw4/src/pbservice/server.go:69
↓ 3 callers
Method
setunreliable
please do not change these two functions.
hw2/src/pbservice/server.go:297
↓ 3 callers
Method
setunreliable
please do not change these two functions.
hw3/src/pbservice/server.go:69
↓ 3 callers
Function
setup
()
hw1/src/mapreduce/test_test.go:124
↓ 2 callers
Method
Append
(key string, value string)
hw4/src/shardkv/client.go:177
↓ 2 callers
Method
Bootstrap
Hint: During re-configuration, replica groups will have to send each other the keys and values for some shards.
hw4/src/shardkv/server.go:261
↓ 2 callers
Function
DoMap
Read split for job, call Map for that split, and create nreduce partitions.
hw1/src/mapreduce/mapreduce.go:208
↓ 2 callers
Function
DoReduce
Read map outputs for partition job, sort them by key, call reduce for each key
hw1/src/mapreduce/mapreduce.go:254
↓ 2 callers
Method
GetRPCCount
please don't change this function.
hw4/src/viewservice/server.go:72
↓ 2 callers
Method
GetRPCCount
please don't change this function.
hw2/src/viewservice/server.go:229
↓ 2 callers
Method
GetRPCCount
please don't change this function.
hw3/src/viewservice/server.go:72
↓ 2 callers
Method
Init
()
hw4/src/shardkv/server.go:74
↓ 2 callers
Function
InitMapReduce
(nmap int, nreduce int, file string, master string)
hw1/src/mapreduce/mapreduce.go:78
↓ 2 callers
Method
Kill
tell the server to shut itself down. for testing. please don't change these two functions.
hw4/src/viewservice/server.go:59
↓ 2 callers
Method
Kill
tell the server to shut itself down. for testing. please don't change these two functions.
hw3/src/viewservice/server.go:59
↓ 2 callers
Function
MakeShardState
()
hw4/src/shardkv/server.go:92
↓ 2 callers
Method
Max
the application wants to know the highest instance sequence known to this peer.
hw4/src/paxos/paxos.go:470
↓ 2 callers
Method
Max
the application wants to know the highest instance sequence known to this peer.
hw3/src/paxos/paxos.go:470
↓ 2 callers
Method
Merge
Merge the results of the reduce jobs XXX use merge sort
hw1/src/mapreduce/mapreduce.go:299
↓ 2 callers
Method
Propose
(xop Op)
hw4/src/kvpaxos/server.go:101
↓ 2 callers
Method
ProposerDecided
added by Adrian
hw4/src/paxos/paxos.go:313
↓ 2 callers
Method
ProposerDecided
added by Adrian
hw3/src/paxos/paxos.go:313
↓ 2 callers
Method
PutAppend
shared by Put and Append.
hw4/src/kvpaxos/client.go:99
↓ 2 callers
Method
PutAppend
send a Put or Append request.
hw4/src/shardkv/client.go:129
↓ 2 callers
Method
PutAppend
send a Put or Append RPC
hw4/src/pbservice/client.go:84
↓ 2 callers
Method
PutAppend
send a Put or Append RPC
hw2/src/pbservice/client.go:119
↓ 2 callers
Method
PutAppend
shared by Put and Append.
hw3/src/kvpaxos/client.go:94
↓ 2 callers
Method
PutAppend
send a Put or Append RPC
hw3/src/pbservice/client.go:84
↓ 2 callers
Method
Rebalance
(config *Config, deleteGID int64)
hw4/src/shardmaster/server.go:47
↓ 2 callers
Method
Split
Split bytes of input file into nMap splits, but split only on white space
hw1/src/mapreduce/mapreduce.go:156
↓ 2 callers
Method
SyncUp
added by Adrian when every time clients sends a Get/PutAppend, the first thing our KVPaxos replica do is NOT to perform the Get/PutAppend on Paxos dir
hw3/src/kvpaxos/server.go:72
↓ 2 callers
Method
Update
added by Adrian helper function for Done() update the doneValues for px.me's doneValues[peer i] it will put the *largest* one as the done value
hw4/src/paxos/paxos.go:447
↓ 2 callers
Method
Update
edited by Adrian
hw2/src/pbservice/server.go:118
↓ 2 callers
Method
Update
added by Adrian helper function for Done() update the doneValues for px.me's doneValues[peer i] it will put the *largest* one as the done value
hw3/src/paxos/paxos.go:447
↓ 2 callers
Method
backupByIdleSrv
edited by Adrian backed up by idle server
hw2/src/viewservice/server.go:112
↓ 2 callers
Function
call
call() sends an RPC to the rpcname handler on server srv with arguments args, waits for the reply, and leaves the reply in reply. the reply argument
hw4/src/kvpaxos/client.go:52
↓ 2 callers
Function
call
call() sends an RPC to the rpcname handler on server srv with arguments args, waits for the reply, and leaves the reply in reply. the reply argument
hw4/src/viewservice/client.go:39
↓ 2 callers
Function
call
call() sends an RPC to the rpcname handler on server srv with arguments args, waits for the reply, and leaves the reply in reply. the reply argument
hw2/src/viewservice/client.go:39
↓ 2 callers
Function
call
call() sends an RPC to the rpcname handler on server srv with arguments args, waits for the reply, and leaves the reply in reply. the reply argument
hw3/src/kvpaxos/client.go:48
↓ 2 callers
Function
call
call() sends an RPC to the rpcname handler on server srv with arguments args, waits for the reply, and leaves the reply in reply. the reply argument
hw3/src/viewservice/client.go:39
↓ 2 callers
Function
checkWorker
Workers report back how many RPCs they have processed in the Shutdown reply. Check that they processed at least 1 RPC.
hw1/src/mapreduce/test_test.go:87
↓ 2 callers
Function
doConcurrent
(t *testing.T, unreliable bool)
hw4/src/shardkv/test_test.go:306
↓ 2 callers
Method
doPutAppend
added by Adrian
hw3/src/kvpaxos/server.go:167
↓ 2 callers
Method
isunreliable
()
hw4/src/shardmaster/server.go:281
↓ 2 callers
Method
isunreliable
()
hw4/src/paxos/paxos.go:593
← previous
next →
101–200 of 418, ranked by callers