Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/1345414527/MIT6.824-2022
/ types & classes
Types & classes
105 in github.com/1345414527/MIT6.824-2022
⨍
Functions
474
◇
Types & classes
105
↓ 2 callers
TypeAlias
bitset
porcupine/bitset.go:5
↓ 1 callers
TypeAlias
ByKey
for sorting by key.
main/mrsequential.go:18
↓ 1 callers
TypeAlias
byTime
porcupine/checker.go:29
Struct
AppendEntriesArgs
raft/raft_append_entries.go:7
Struct
AppendEntriesReply
raft/raft_append_entries.go:16
Struct
ApplyMsg
raft/raft.go:66
TypeAlias
CheckResult
porcupine/model.go:71
Struct
CleanShardDataArgs
用于请求目标节点清除指定的output shard
shardkv/common.go:120
Struct
CleanShardDataReply
shardkv/common.go:125
Struct
Clerk
shardctrler/client.go:12
Struct
Clerk
客户端
kvraft/client.go:16
Struct
Clerk
shardkv/client.go:40
Struct
ClientCommandId
shardctrler/common.go:59
Struct
ClientEnd
labrpc/labrpc.go:77
Struct
CommandResult
shardctrler/server.go:34
Struct
CommandResult
kvraft/server.go:29
Struct
CommandResult
shardkv/server_op.go:20
Struct
Config
A configuration -- an assignment of shards to groups. Please don't change this. 保存配置信息
shardctrler/common.go:53
Struct
Coordinator
mr/coordinator.go:54
Struct
DD
labgob/test_test.go:149
TypeAlias
Err
Shard controler: assigns shards to replication groups. RPC interface: Join(servers) -- add a set of groups (gid -> server-list mapping). Leave(gids)
shardctrler/common.go:24
TypeAlias
Err
kvraft/common.go:11
TypeAlias
Err
shardkv/common.go:24
Struct
Event
porcupine/model.go:20
TypeAlias
EventKind
porcupine/model.go:13
Struct
ExampleArgs
example to show how to declare the arguments and reply for an RPC.
mr/rpc.go:17
Struct
ExampleReply
mr/rpc.go:21
Struct
FetchShardDataArgs
用于向目标节点获取input shard
shardkv/common.go:93
Struct
FetchShardDataReply
shardkv/common.go:98
Struct
GetArgs
kvraft/common.go:29
Struct
GetArgs
shardkv/common.go:69
Struct
GetReply
kvraft/common.go:36
Struct
GetReply
shardkv/common.go:77
Struct
InstallSnapshotArgs
raft/raft_snapshot.go:5
Struct
InstallSnapshotReply
raft/raft_snapshot.go:15
Struct
JoinArgs
shardctrler/common.go:64
Struct
JoinReply
shardctrler/common.go:69
Struct
JunkArgs
labrpc/test_test.go:10
Struct
JunkReply
labrpc/test_test.go:13
Struct
JunkServer
labrpc/test_test.go:17
Struct
KVServer
kvraft/server.go:34
Struct
KeyValue
Map functions return a slice of KeyValue.
mr/worker.go:18
Struct
KvInput
models/kv.go:7
Struct
KvOutput
models/kv.go:13
Struct
LabDecoder
labgob/labgob.go:42
Struct
LabEncoder
labgob/labgob.go:22
Struct
LeaveArgs
shardctrler/common.go:74
Struct
LeaveReply
shardctrler/common.go:79
Struct
LogEntry
raft/raft.go:78
Struct
MergeShardData
用于存储output shard的数据,以及充当input shard在apply的命令
shardkv/common.go:130
Struct
Model
porcupine/model.go:27
Struct
MoveArgs
shardctrler/common.go:84
Struct
MoveReply
shardctrler/common.go:90
Struct
Network
labrpc/labrpc.go:128
Struct
Op
shardctrler/server.go:39
Struct
Op
debug
kvraft/server.go:17
Struct
Op
shardkv/server_op.go:7
Struct
OpLog
kvraft/test_test.go:23
Struct
Operation
porcupine/model.go:5
Struct
Persister
raft/persister.go:14
Struct
PutAppendArgs
Put or Append
kvraft/common.go:14
Struct
PutAppendArgs
Put or Append
shardkv/common.go:40
Struct
PutAppendReply
kvraft/common.go:25
Struct
PutAppendReply
shardkv/common.go:53
Struct
QueryArgs
shardctrler/common.go:95
Struct
QueryReply
shardctrler/common.go:100
Struct
Raft
A Go object implementing a single Raft peer.
raft/raft.go:86
Struct
RegArgs
用于worker创建后的注册
mr/rpc.go:37
Struct
RegReply
mr/rpc.go:40
Struct
ReportTaskArgs
用于worker响应任务
mr/rpc.go:45
Struct
ReportTaskReply
mr/rpc.go:52
Struct
RequestVoteArgs
example RequestVote RPC arguments structure. field names must start with capital letters!
raft/raft_vote.go:11
Struct
RequestVoteReply
example RequestVote RPC reply structure. field names must start with capital letters!
raft/raft_vote.go:23
TypeAlias
Role
raft/raft.go:50
Struct
Server
a server is a collection of services, all sharing the same rpc dispatcher. so that e.g. both a Raft and a k/v server can listen to the same rpc endpo
labrpc/labrpc.go:391
Struct
Service
an object with methods that can be called via RPC. a single server may have more than one Service.
labrpc/labrpc.go:444
Struct
ShardCtrler
debug
shardctrler/server.go:15
Struct
ShardKV
shardkv/server.go:22
Struct
T1
labgob/test_test.go:7
Struct
T2
labgob/test_test.go:14
Struct
T3
labgob/test_test.go:20
Struct
T4
labgob/test_test.go:110
Struct
Task
任务
mr/coordinator.go:38
Struct
TaskArgs
Add your RPC definitions here. 用于获取任务
mr/rpc.go:28
TypeAlias
TaskPhase
mr/coordinator.go:14
Struct
TaskReply
mr/rpc.go:32
Struct
TaskState
任务状态
mr/coordinator.go:48
TypeAlias
TaskStatus
任务阶段
mr/coordinator.go:15
Struct
cacheEntry
porcupine/checker.go:140
Struct
callsEntry
porcupine/checker.go:154
Struct
config
shardctrler/config.go:34
Struct
config
kvraft/config.go:44
Struct
config
raft/config.go:40
Struct
config
shardkv/config.go:53
Struct
entry
porcupine/checker.go:16
TypeAlias
entryKind
porcupine/checker.go:9
Struct
group
shardkv/config.go:45
Struct
historyElement
porcupine/visualization.go:11
Struct
linearizationInfo
porcupine/checker.go:24
Struct
linearizationStep
porcupine/visualization.go:18
next →
1–100 of 105, ranked by callers