Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aQuaYi/MIT-6.824-Distributed-Systems
/ functions
Functions
473 in github.com/aQuaYi/MIT-6.824-Distributed-Systems
⨍
Functions
473
◇
Types & classes
96
↓ 1 callers
Function
usage
()
src/main/pbc.go:25
↓ 1 callers
Function
worker
Concurrent crawler with channels 使用通道来完成并行爬虫 worker 爬取 url 页面后,把结果发送到 ch 如果爬取失败,就发送一个空切片到 ch
Lectures/LEC02/crawler/crawler.go:102
Method
AppendEntries
AppendEntries is
src/raft/rpc_appendEntries.go:53
Function
AsyncDataFetcher
(fetch)
Lectures/LEC03/6.824 Lab 2: Raft_files/vomnibar_data/utils.js:410
Function
BackgroundCompleter
(name1)
Lectures/LEC03/6.824 Lab 2: Raft_files/vomnibar_data/vomnibar.js:338
Function
CheckEvents
(model Model, history []Event)
src/linearizability/linearizability.go:272
Function
CheckOperations
(model Model, history []Operation)
src/linearizability/linearizability.go:229
Method
ConnectClient
(ck *Clerk, to []int)
src/shardmaster/config.go:205
Function
DPrintf
(format string, a ...interface{})
src/kvraft/server.go:13
Method
DisconnectClient
(ck *Clerk, from []int)
src/shardmaster/config.go:221
Method
DisconnectClient
(ck *Clerk, from []int)
src/kvraft/config.go:248
Method
DoTask
DoTask is called by the master when a new task is being scheduled on this worker.
src/mapreduce/worker.go:40
Method
Fetch
(url string)
Lectures/LEC02/crawler/crawler.go:172
Method
Get
(args *GetArgs, reply *GetReply)
src/kvraft/server.go:37
Method
Get
(args *GetArgs, reply *GetReply)
src/shardkv/server.go:28
Method
Get
Get 是 *KV 为 rpc 提供的获取 key 对应的值的方法
Lectures/LEC02/kv/kv.go:100
Method
GetCount
get a server's count of incoming RPCs.
src/labrpc/labrpc.go:351
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
Function
HandlerStack
()
Lectures/LEC03/6.824 Lab 2: Raft_files/vomnibar_data/handler_stack.js:8
Method
InstallSnapshot
InstallSnapshot is
src/raft/rpc_snapshot.go:23
Function
JobRunner
(jobs)
Lectures/LEC03/6.824 Lab 2: Raft_files/vomnibar_data/utils.js:442
Method
Join
(args *JoinArgs, reply *JoinReply)
src/shardmaster/server.go:23
Function
KvModel
()
src/linearizability/models.go:15
Method
Leave
(args *LeaveArgs, reply *LeaveReply)
src/shardmaster/server.go:27
Method
Len
()
src/linearizability/linearizability.go:25
Method
Less
(i, j int)
src/linearizability/linearizability.go:33
Method
LogSize
Maximum log size across all servers
src/shardmaster/config.go:67
Function
MapFunc
Create input file with N numbers Check if we have N numbers in output file Split in words
src/mapreduce/test_test.go:26
Method
Move
(args *MoveArgs, reply *MoveReply)
src/shardmaster/server.go:31
Function
NoPartition
(history []Operation)
src/linearizability/model.go:41
Function
NoPartitionEvent
(history []Event)
src/linearizability/model.go:45
Method
Put
Put 是 *KV 为 rpc 提供的放入 (args.key, args.val) 的方法
Lectures/LEC02/kv/kv.go:129
Method
PutAppend
(args *PutAppendArgs, reply *PutAppendReply)
src/kvraft/server.go:41
Method
PutAppend
(args *PutAppendArgs, reply *PutAppendReply)
src/shardkv/server.go:32
Method
Query
(args *QueryArgs, reply *QueryReply)
src/shardmaster/server.go:35
Function
ReduceFunc
Just return key
src/mapreduce/test_test.go:37
Function
RegisterName
(name string, value interface{})
src/labgob/labgob.go:63
Method
RequestVote
RequestVote 投票工作 example RequestVote RPC handler. func (rf *Raft) RequestVote(args *RequestVoteArgs, reply *RequestVoteReply) { // Your code here (2
src/raft/rpc_requestVote.go:94
Method
SaveStateAndSnapshot
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:59
Function
ShallowEqual
(state1, state2 interface{})
src/linearizability/model.go:49
Method
Shutdown
Shutdown is an RPC method that shuts down the Master's RPC server.
src/mapreduce/master_rpc.go:12
Method
Shutdown
Shutdown is called by the master when all work has been completed. We should respond with the number of tasks we have processed.
src/mapreduce/worker.go:98
Function
SimpleCache
(expiry, entries)
Lectures/LEC03/6.824 Lab 2: Raft_files/vomnibar_data/utils.js:345
Method
SnapshotSize
SnapshotSize 快照尺寸
src/raft/persister.go:74
Method
String
()
src/raft/rpc_appendEntries.go:19
Method
String
()
src/raft/rpc_appendEntries.go:31
Method
String
()
src/raft/applyMsg.go:25
Method
String
()
src/raft/rpc_requestVote.go:20
Method
String
()
src/raft/rpc_requestVote.go:35
Method
String
()
src/raft/raft_new.go:72
Method
Swap
(i, j int)
src/linearizability/linearizability.go:29
Function
TestBackup2B
(t *testing.T)
src/raft/test_test.go:327
Function
TestBasic
(t *testing.T)
src/shardmaster/test_test.go:80
Function
TestBasic
(t *testing.T)
src/labrpc/test_test.go:54
Function
TestBasic3A
(t *testing.T)
src/kvraft/test_test.go:426
Function
TestBasicAgree2B
(t *testing.T)
src/raft/test_test.go:83
Function
TestBenchmark
(t *testing.T)
src/labrpc/test_test.go:499
Function
TestCapital
make sure we check capitalization labgob prints one warning during this test.
src/labgob/test_test.go:119
Function
TestChallenge1Concurrent
(t *testing.T)
src/shardkv/test_test.go:728
Function
TestChallenge1Delete
optional test to see whether servers are deleting shards for which they are no longer responsible.
src/shardkv/test_test.go:647
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:871
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:801
Function
TestConcurrent1
(t *testing.T)
src/shardkv/test_test.go:296
Function
TestConcurrent2
this tests the various sources from which a re-starting group might need to fetch shard contents.
src/shardkv/test_test.go:377
Function
TestConcurrent3A
(t *testing.T)
src/kvraft/test_test.go:431
Function
TestConcurrentMany
test RPCs from concurrent ClientEnds
src/labrpc/test_test.go:206
Function
TestConcurrentOne
test concurrent RPCs from a single ClientEnd
src/labrpc/test_test.go:317
Function
TestConcurrentStarts2B
(t *testing.T)
src/raft/test_test.go:188
Function
TestCount2B
(t *testing.T)
src/raft/test_test.go:399
Function
TestCounts
test net.GetCount()
src/labrpc/test_test.go:170
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:131
Function
TestFailAgree2B
(t *testing.T)
src/raft/test_test.go:106
Function
TestFailNoAgree2B
(t *testing.T)
src/raft/test_test.go:137
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:641
Function
TestFigure8Unreliable2C
(t *testing.T)
src/raft/test_test.go:726
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
Function
TestJoinLeave
(t *testing.T)
src/shardkv/test_test.go:89
Function
TestKilled
if an RPC is stuck in a server, and the server is killed with DeleteServer(), does the RPC get un-stuck?
src/labrpc/test_test.go:454
Function
TestManyFailures
(t *testing.T)
src/mapreduce/test_test.go:207
Function
TestManyPartitionsManyClients3A
(t *testing.T)
src/kvraft/test_test.go:556
Function
TestManyPartitionsOneClient3A
(t *testing.T)
src/kvraft/test_test.go:551
Function
TestMissChange
(t *testing.T)
src/shardkv/test_test.go:210
Function
TestMulti
(t *testing.T)
src/shardmaster/test_test.go:252
Function
TestOneFailure
(t *testing.T)
src/mapreduce/test_test.go:194
Function
TestOnePartition3A
Submit a request in the minority partition and check that the requests doesn't go through until the partition heals. The leader in the original netwo
src/kvraft/test_test.go:476
Function
TestParallelBasic
(t *testing.T)
src/mapreduce/test_test.go:162
Function
TestParallelCheck
(t *testing.T)
src/mapreduce/test_test.go:174
Function
TestPersist12C
(t *testing.T)
src/raft/test_test.go:509
Function
TestPersist22C
(t *testing.T)
src/raft/test_test.go:555
Function
TestPersist32C
(t *testing.T)
src/raft/test_test.go:601
Function
TestPersistConcurrent3A
(t *testing.T)
src/kvraft/test_test.go:566
Function
TestPersistConcurrentUnreliable3A
(t *testing.T)
src/kvraft/test_test.go:571
Function
TestPersistOneClient3A
(t *testing.T)
src/kvraft/test_test.go:561
Function
TestPersistPartition3A
(t *testing.T)
src/kvraft/test_test.go:576
← previous
next →
301–400 of 473, ranked by callers