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
↓ 1 callers
Function
ReadSpecificFile
(targetNumber int, path string)
src/mr/utils.go:75
↓ 1 callers
Function
Register
(value interface{})
src/labgob/labgob.go:58
↓ 1 callers
Function
RemoveGidServers
(me int, configs []Config, gids []int)
src/shardctrler/util.go:198
↓ 1 callers
Method
SendHeartBeats
()
src/raft/raft.go:787
↓ 1 callers
Method
ShutdownServer
Shutdown a server by isolating it
src/kvraft/config.go:255
↓ 1 callers
Method
StartCtrlerserver
(i int)
src/shardkv/config.go:270
↓ 1 callers
Function
StartKVServer
(servers []*labrpc.ClientEnd, me int, persister *raft.Persister, maxraftstate int)
src/kvraft/server.go:365
↓ 1 callers
Function
StartServer
servers[] contains the ports of the set of servers that will cooperate via Raft to form the fault-tolerant shardctrler service. me is the index of the
src/shardctrler/server.go:274
↓ 1 callers
Function
StartServer
servers[] contains the ports of the servers in this group. me is the index of the current server in servers[]. the k/v server should store snapshots
src/shardkv/server.go:75
↓ 1 callers
Function
Visualize
(model Model, info linearizationInfo, output io.Writer)
src/porcupine/visualization.go:89
↓ 1 callers
Method
add_cache
(gid int, servers []string)
src/shardctrler/common.go:47
↓ 1 callers
Function
cacheContains
(model Model, cache map[uint64][]cacheEntry, entry cacheEntry)
src/porcupine/checker.go:145
↓ 1 callers
Function
checkConcurrentAppends
check that all known appends are present in a value, and are in order for each concurrent client.
src/kvraft/test_test.go:159
↓ 1 callers
Function
checkDefault
warn if the value contains non-default values, as it would if one sent an RPC but the reply struct was already modified. if the RPC reply contains de
src/labgob/labgob.go:122
↓ 1 callers
Function
checkDefault1
(value reflect.Value, depth int, name string)
src/labgob/labgob.go:129
↓ 1 callers
Method
checkNoLeader
check that none of the connected servers thinks it is the leader.
src/raft/config.go:484
↓ 1 callers
Function
checkSingle
(model Model, history []entry, computePartial bool, kill *int32)
src/porcupine/checker.go:179
↓ 1 callers
Method
checkTimeout
()
src/shardctrler/config.go:47
↓ 1 callers
Method
checkTimeout
()
src/shardkv/config.go:72
↓ 1 callers
Function
checkType
(t reflect.Type)
src/labgob/labgob.go:72
↓ 1 callers
Method
clear
(pos uint)
src/porcupine/bitset.go:35
↓ 1 callers
Method
clone
()
src/porcupine/bitset.go:19
↓ 1 callers
Method
collectVote
(serverTo int, args *RequestVoteArgs, muVote *sync.Mutex, voteCount *int)
src/raft/raft.go:983
↓ 1 callers
Function
computeVisualizationData
(model Model, info linearizationInfo)
src/porcupine/visualization.go:33
↓ 1 callers
Function
convertEntries
(events []Event)
src/porcupine/checker.go:108
↓ 1 callers
Method
deleteClient
(ck *Clerk)
src/kvraft/config.go:211
↓ 1 callers
Method
dispatch
(req reqMsg)
src/labrpc/labrpc.go:403
↓ 1 callers
Method
equals
(b2 bitset)
src/porcupine/bitset.go:62
↓ 1 callers
Method
handleAppendEntries
(serverTo int, args *AppendEntriesArgs)
src/raft/raft.go:660
↓ 1 callers
Method
handleInstallSnapshot
(serverTo int)
src/raft/raft.go:454
↓ 1 callers
Function
ihash
use ihash(key) % NReduce to choose the reduce task number for each KeyValue emitted by Map.
src/mr/worker.go:32
↓ 1 callers
Method
initTask
(files []string)
src/mr/coordinator.go:48
↓ 1 callers
Method
killed
()
src/shardctrler/server.go:195
↓ 1 callers
Method
killed
()
src/kvraft/server.go:247
↓ 1 callers
Function
length
(n *node)
src/porcupine/checker.go:83
↓ 1 callers
Function
lift
(entry *node)
src/porcupine/checker.go:159
↓ 1 callers
Function
loadPlugin
load the application Map and Reduce functions from a plugin file, e.g. ../mrapps/wc.so
src/main/mrsequential.go:91
↓ 1 callers
Function
loadPlugin
load the application Map and Reduce functions from a plugin file, e.g. ../mrapps/wc.so
src/main/mrworker.go:32
↓ 1 callers
Function
makeEntries
(history []Operation)
src/porcupine/checker.go:48
↓ 1 callers
Function
makeLinkedEntries
(entries []entry)
src/porcupine/checker.go:121
↓ 1 callers
Function
makeSeed
()
src/kvraft/config.go:26
↓ 1 callers
Function
makeSeed
()
src/raft/config.go:37
↓ 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
Method
move_cache
()
src/shardctrler/common.go:79
↓ 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/shardctrler/client.go:26
↓ 1 callers
Function
nrand
()
src/kvraft/client.go:22
↓ 1 callers
Function
partitioner
repartition the servers periodically
src/kvraft/test_test.go:182
↓ 1 callers
Method
popcnt
()
src/porcupine/bitset.go:46
↓ 1 callers
Method
processReq
(req reqMsg)
src/labrpc/labrpc.go:218
↓ 1 callers
Function
random_handles
Randomize server handles
src/shardctrler/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:192
↓ 1 callers
Method
readPersist
restore previously persisted state.
src/raft/raft.go:171
↓ 1 callers
Method
readSnapshot
(data []byte)
src/raft/raft.go:205
↓ 1 callers
Method
remove_cache
(gids []int)
src/shardctrler/common.go:57
↓ 1 callers
Method
remove_group
(gids []int)
src/shardctrler/common.go:68
↓ 1 callers
Function
renumber
(events []Event)
src/porcupine/checker.go:92
↓ 1 callers
Function
run_client
a client runs the function f and then signals it is done
src/kvraft/test_test.go:105
↓ 1 callers
Method
sendAppendEntries
(serverTo int, args *AppendEntriesArgs, reply *AppendEntriesReply)
src/raft/raft.go:535
↓ 1 callers
Method
sendInstallSnapshot
(serverTo int, args *InstallSnapshotArgs, reply *InstallSnapshotReply)
src/raft/raft.go:368
↓ 1 callers
Method
sendRequestVote
code to 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 wit
src/raft/raft.go:887
↓ 1 callers
Method
server
start a thread that listens for RPCs from worker.go
src/mr/coordinator.go:218
↓ 1 callers
Method
setlongreordering
(longrel bool)
src/raft/config.go:422
↓ 1 callers
Method
shardclerk
()
src/shardkv/config.go:292
↓ 1 callers
Method
ticker
()
src/raft/raft.go:1058
↓ 1 callers
Function
unlift
(entry *node)
src/porcupine/checker.go:169
↓ 1 callers
Function
usage
()
src/main/pbc.go:25
Method
Append
(key string, value string)
src/kvraft/client.go:140
Method
AppendEntries
AppendEntries handler
src/raft/raft.go:541
Method
AskForTask
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:67
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
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
Get
(args *GetArgs, reply *GetReply)
src/kvraft/server.go:221
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
InstallSnapshot
InstallSnapshot handler
src/raft/raft.go:374
Method
Join
(args *JoinArgs, reply *JoinReply)
src/shardctrler/server.go:147
Method
Leave
(args *LeaveArgs, reply *LeaveReply)
src/shardctrler/server.go:156
Method
Len
for sorting by key.
src/main/mrsequential.go:21
Method
Len
for sorting by key.
src/mr/worker.go:26
← previous
next →
201–300 of 443, ranked by callers