Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/YushuaiJi/Distribution-System
/ functions
Functions
376 in github.com/YushuaiJi/Distribution-System
⨍
Functions
376
◇
Types & classes
83
↓ 1 callers
Function
check_same_config
(t *testing.T, c1 Config, c2 Config)
MIT-6.824/src/shardmaster/test_test.go:55
↓ 1 callers
Method
clear
(pos uint)
MIT-6.824/src/linearizability/bitset.go:33
↓ 1 callers
Method
clone
()
MIT-6.824/src/linearizability/bitset.go:17
↓ 1 callers
Function
convertEntries
(events []Event)
MIT-6.824/src/linearizability/linearizability.go:97
↓ 1 callers
Method
deleteClient
(ck *Clerk)
MIT-6.824/src/kvraft/config.go:211
↓ 1 callers
Method
dispatch
(req reqMsg)
MIT-6.824/src/labrpc/labrpc.go:387
↓ 1 callers
Method
equals
(b2 bitset)
MIT-6.824/src/linearizability/bitset.go:64
↓ 1 callers
Method
forwardRegistrations
helper function that sends information about all existing and newly registered workers to channel ch. schedule() reads ch to learn about workers.
MIT-6.824/src/mapreduce/master.go:85
↓ 1 callers
Function
ihash
(s string)
MIT-6.824/src/mapreduce/common_map.go:86
↓ 1 callers
Method
killWorkers
killWorkers cleans up all workers by sending each one a Shutdown RPC. It also collects and returns the number of tasks each worker has performed.
MIT-6.824/src/mapreduce/master.go:161
↓ 1 callers
Function
length
(n *node)
MIT-6.824/src/linearizability/linearizability.go:72
↓ 1 callers
Function
lift
(entry *node)
MIT-6.824/src/linearizability/linearizability.go:147
↓ 1 callers
Function
makeEntries
(history []Operation)
MIT-6.824/src/linearizability/linearizability.go:37
↓ 1 callers
Function
makeSeed
()
MIT-6.824/src/kvraft/config.go:26
↓ 1 callers
Function
makeSeed
()
MIT-6.824/src/raft/config.go:30
↓ 1 callers
Function
makeSeed
()
MIT-6.824/src/shardkv/config.go:27
↓ 1 callers
Method
make_partition
Partition servers into 2 groups and put current leader in minority
MIT-6.824/src/kvraft/config.go:339
↓ 1 callers
Function
mapF
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
MIT-6.824/src/main/wc.go:20
↓ 1 callers
Method
merge
merge combines the results of the many reduce jobs into a single output file XXX use merge sort
MIT-6.824/src/mapreduce/master_splitmerge.go:14
↓ 1 callers
Function
newBitset
data layout: bits 0-63 are in data[0], the next are in data[1], etc.
MIT-6.824/src/linearizability/bitset.go:8
↓ 1 callers
Function
nrand
()
MIT-6.824/src/kvraft/client.go:15
↓ 1 callers
Method
popcnt
()
MIT-6.824/src/linearizability/bitset.go:44
↓ 1 callers
Function
random_handles
Randomize server handles
MIT-6.824/src/shardmaster/config.go:24
↓ 1 callers
Function
random_handles
Randomize server handles
MIT-6.824/src/kvraft/config.go:34
↓ 1 callers
Function
randstring
(n int)
MIT-6.824/src/raft/config.go:23
↓ 1 callers
Method
readPersist
restore previously persisted state.
MIT-6.824/src/raft/raft.go:258
↓ 1 callers
Function
reduceF
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.
MIT-6.824/src/main/wc.go:38
↓ 1 callers
Method
register
Tell the master we exist and ready to work
MIT-6.824/src/mapreduce/worker.go:108
↓ 1 callers
Function
renumber
(events []Event)
MIT-6.824/src/linearizability/linearizability.go:81
↓ 1 callers
Function
run_client
a client runs the function f and then signals it is done
MIT-6.824/src/kvraft/test_test.go:45
↓ 1 callers
Method
sendAppendEntries
(server int, args *AppendEntriesArgs, reply *AppendEntriesReply)
MIT-6.824/src/raft/raft.go:774
↓ 1 callers
Method
sendInstallSnapshot
(server int, args *InstallSnapshotArgs, reply *InstallSnapshotReply)
MIT-6.824/src/raft/raft.go:779
↓ 1 callers
Method
sendRequestVote
example 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 *
MIT-6.824/src/raft/raft.go:769
↓ 1 callers
Method
setlongreordering
(longrel bool)
MIT-6.824/src/raft/config.go:292
↓ 1 callers
Method
shardclerk
()
MIT-6.824/src/shardkv/config.go:289
↓ 1 callers
Method
shouldTakeSnapshot
()
MIT-6.824/src/kvraft/server.go:60
↓ 1 callers
Method
startRPCServer
startRPCServer starts the Master's RPC server. It continues accepting RPC calls (Register in particular) for as long as the worker is alive.
MIT-6.824/src/mapreduce/master_rpc.go:21
↓ 1 callers
Method
stopRPCServer
stopRPCServer stops the master RPC server. This must be done through an RPC to avoid race conditions between the RPC server thread and the current thr
MIT-6.824/src/mapreduce/master_rpc.go:59
↓ 1 callers
Method
takeSnapshot
()
MIT-6.824/src/kvraft/server.go:71
↓ 1 callers
Function
unlift
(entry *node)
MIT-6.824/src/linearizability/linearizability.go:157
↓ 1 callers
Function
usage
()
MIT-6.824/src/main/pbc.go:25
Method
AppendEntries
(args *AppendEntriesArgs, reply *AppendEntriesReply)
MIT-6.824/src/raft/raft.go:382
Function
CheckEvents
(model Model, history []Event)
MIT-6.824/src/linearizability/linearizability.go:272
Function
CheckOperations
(model Model, history []Operation)
MIT-6.824/src/linearizability/linearizability.go:229
Method
ConnectClient
(ck *Clerk, to []int)
MIT-6.824/src/shardmaster/config.go:205
Method
DisconnectClient
(ck *Clerk, from []int)
MIT-6.824/src/shardmaster/config.go:221
Method
DisconnectClient
(ck *Clerk, from []int)
MIT-6.824/src/kvraft/config.go:248
Method
DoTask
DoTask is called by the master when a new task is being scheduled on this worker.
MIT-6.824/src/mapreduce/worker.go:40
Method
Get
(args *GetArgs, reply *GetReply)
MIT-6.824/src/kvraft/server.go:139
Method
Get
(args *GetArgs, reply *GetReply)
MIT-6.824/src/shardkv/server.go:32
Method
GetCount
get a server's count of incoming RPCs.
MIT-6.824/src/labrpc/labrpc.go:351
Method
Handler1
(args string, reply *int)
MIT-6.824/src/labrpc/test_test.go:23
Method
Handler2
(args int, reply *string)
MIT-6.824/src/labrpc/test_test.go:30
Method
Handler3
(args int, reply *int)
MIT-6.824/src/labrpc/test_test.go:37
Method
Handler4
args is a pointer
MIT-6.824/src/labrpc/test_test.go:45
Method
Handler5
args is a not pointer
MIT-6.824/src/labrpc/test_test.go:50
Method
InstallSnapshot
(args *InstallSnapshotArgs, reply *InstallSnapshotReply)
MIT-6.824/src/raft/raft.go:645
Method
Join
(args *JoinArgs, reply *JoinReply)
MIT-6.824/src/shardmaster/server.go:27
Function
KvModel
()
MIT-6.824/src/linearizability/models.go:15
Method
Leave
(args *LeaveArgs, reply *LeaveReply)
MIT-6.824/src/shardmaster/server.go:31
Method
Len
()
MIT-6.824/src/linearizability/linearizability.go:25
Method
Less
(i, j int)
MIT-6.824/src/linearizability/linearizability.go:33
Method
LogSize
Maximum log size across all servers
MIT-6.824/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
MIT-6.824/src/mapreduce/test_test.go:26
Method
Move
(args *MoveArgs, reply *MoveReply)
MIT-6.824/src/shardmaster/server.go:35
Function
NoPartition
(history []Operation)
MIT-6.824/src/linearizability/model.go:41
Function
NoPartitionEvent
(history []Event)
MIT-6.824/src/linearizability/model.go:45
Method
PutAppend
(args *PutAppendArgs, reply *PutAppendReply)
MIT-6.824/src/kvraft/server.go:166
Method
PutAppend
(args *PutAppendArgs, reply *PutAppendReply)
MIT-6.824/src/shardkv/server.go:36
Method
Query
(args *QueryArgs, reply *QueryReply)
MIT-6.824/src/shardmaster/server.go:39
Function
ReduceFunc
Just return key
MIT-6.824/src/mapreduce/test_test.go:37
Function
RegisterName
(name string, value interface{})
MIT-6.824/src/labgob/labgob.go:63
Method
RequestVote
example RequestVote RPC handler.
MIT-6.824/src/raft/raft.go:325
Function
ShallowEqual
(state1, state2 interface{})
MIT-6.824/src/linearizability/model.go:49
Method
Shutdown
Shutdown is an RPC method that shuts down the Master's RPC server.
MIT-6.824/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.
MIT-6.824/src/mapreduce/worker.go:98
Method
SnapshotSize
()
MIT-6.824/src/raft/persister.go:66
Method
String
()
MIT-6.824/src/raft/raft.go:44
Method
String
()
MIT-6.824/src/raft/raft.go:142
Method
Swap
(i, j int)
MIT-6.824/src/linearizability/linearizability.go:29
Function
TestBackup2B
(t *testing.T)
MIT-6.824/src/raft/test_test.go:330
Function
TestBasic
(t *testing.T)
MIT-6.824/src/shardmaster/test_test.go:80
Function
TestBasic
(t *testing.T)
MIT-6.824/src/labrpc/test_test.go:54
Function
TestBasic3A
(t *testing.T)
MIT-6.824/src/kvraft/test_test.go:426
Function
TestBasicAgree2B
(t *testing.T)
MIT-6.824/src/raft/test_test.go:86
Function
TestBenchmark
(t *testing.T)
MIT-6.824/src/labrpc/test_test.go:499
Function
TestCapital
make sure we check capitalization labgob prints one warning during this test.
MIT-6.824/src/labgob/test_test.go:119
Function
TestChallenge1Concurrent
(t *testing.T)
MIT-6.824/src/shardkv/test_test.go:734
Function
TestChallenge1Delete
optional test to see whether servers are deleting shards for which they are no longer responsible.
MIT-6.824/src/shardkv/test_test.go:653
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
MIT-6.824/src/shardkv/test_test.go:877
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
MIT-6.824/src/shardkv/test_test.go:807
Function
TestConcurrent1
(t *testing.T)
MIT-6.824/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.
MIT-6.824/src/shardkv/test_test.go:377
Function
TestConcurrent3A
(t *testing.T)
MIT-6.824/src/kvraft/test_test.go:431
Function
TestConcurrentMany
test RPCs from concurrent ClientEnds
MIT-6.824/src/labrpc/test_test.go:206
Function
TestConcurrentOne
test concurrent RPCs from a single ClientEnd
MIT-6.824/src/labrpc/test_test.go:317
Function
TestConcurrentStarts2B
(t *testing.T)
MIT-6.824/src/raft/test_test.go:191
Function
TestCount2B
(t *testing.T)
MIT-6.824/src/raft/test_test.go:402
Function
TestCounts
test net.GetCount()
MIT-6.824/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
MIT-6.824/src/labgob/test_test.go:146
← previous
next →
201–300 of 376, ranked by callers