MCPcopy Index your code

hub / github.com/chrislusf/glow / functions

Functions522 in github.com/chrislusf/glow

↓ 46 callersMethodMap
map can work with multiple kinds of inputs and outputs Input Types: 1. single value 2. (key, value) : Most common format for key value pair 3. (key, v
flow/dataset_map.go:19
↓ 36 callersMethodw
(t string)
driver/plan/group_plot.go:118
↓ 31 callersMethodFlag
()
util/read_write.go:30
↓ 30 callersMethodClose
Close implements io.Closer, and closes the current logfile.
netchan/store/rotating_file_store.go:161
↓ 28 callersMethodString
()
resource/resource.go:17
↓ 21 callersMethodprintln
(t string)
driver/plan/group_plot.go:109
↓ 19 callersMethodName
()
flow/step_task.go:41
↓ 17 callersMethodURL
()
resource/resource.go:83
↓ 16 callersMethodRun
(fc *FlowContext)
flow/context_run.go:36
↓ 14 callersMethodMinus
(b ComputeResource)
resource/resource.go:21
↓ 14 callersMethodWrite
(data []byte)
netchan/store/data_store.go:37
↓ 13 callersMethodGetShards
()
flow/dataset.go:7
↓ 12 callersMethodPlus
(b ComputeResource)
resource/resource.go:28
↓ 11 callersMethodBytes
()
util/read_write.go:36
↓ 10 callersMethodData
()
util/read_write.go:33
↓ 10 callersMethodEnum
()
driver/cmd/control_message.pb.go:79
↓ 10 callersMethodPartition
hash data or by data key, return a new dataset This is devided into 2 steps: 1. Each record is sharded to a local shard 2. The destination shard will
flow/dataset_partition.go:14
↓ 10 callersMethodSort
(f interface{})
flow/dataset_sort.go:10
↓ 9 callersMethodJoin
assume nothing about these two dataset
flow/dataset_join.go:8
↓ 9 callersMethodString
()
driver/cmd/control_message.pb.go:199
↓ 9 callersMethodnewNextDataset
(shardSize int, dType reflect.Type)
flow/context.go:25
↓ 8 callersMethodLocalSort
f(V, V) bool : less than function New Dataset contains K,V
flow/dataset_sort.go:16
↓ 8 callersMethodTextFile
TextFile returns a new Dataset which reads the text file fname line by line, and distributes them evenly among multiple shards.
flow/dataset_source.go:54
↓ 7 callersFunctionFromTaskToDatasetShard
(task *Task, shard *DatasetShard)
flow/context.go:172
↓ 7 callersMethodNewTask
()
flow/step_task.go:20
↓ 7 callersFunctionsendKeyValueValue
(outChan reflect.Value, key, a, b interface{})
flow/dataset_join.go:120
↓ 7 callersMethodt
(t *flow.Task)
driver/plan/group_plot.go:126
↓ 6 callersMethodAddOutput
(ch interface{})
flow/dataset_output.go:10
↓ 6 callersMethodFilter
f(A)bool
flow/dataset_map.go:117
↓ 6 callersFunctionFromDatasetShardToTask
(shard *DatasetShard, task *Task)
flow/context.go:166
↓ 6 callersFunctionFromDatasetToStep
(input *Dataset, step *Step)
flow/context.go:158
↓ 6 callersFunctionFromStepToDataset
(step *Step, output *Dataset)
flow/context.go:150
↓ 6 callersMethodGetShardLocation
(shardName string)
driver/scheduler/shard_location.go:28
↓ 6 callersMethodInputChan
()
flow/step_task.go:58
↓ 6 callersMethodIsZero
()
resource/resource.go:39
↓ 6 callersMethodLocalReduceByKey
(f interface{})
flow/dataset_reduce.go:84
↓ 6 callersMethodMakeTLSConfig
()
netchan/cert_files.go:24
↓ 6 callersFunctionNew
()
flow/context.go:19
↓ 6 callersMethodNewStep
()
flow/context.go:33
↓ 6 callersMethodSlice
Slice accepts a slice as the input and sends the received values to tasks via Channel().
flow/dataset_source.go:98
↓ 6 callersMethodSource
Source returns a new Dataset which evenly distributes the data items produced by f among multiple shards. f must be a function defined in the form fun
flow/dataset_source.go:13
↓ 6 callersMethodUpdateAgentInformation
(ai *resource.AgentInformation)
resource/service_discovery/master/master_resources.go:42
↓ 6 callersFunctionadd1ShardTo1Step
(d *Dataset, nextDataType reflect.Type)
flow/dataset_map.go:135
↓ 6 callersFunctiongetComparator
(dt reflect.Type)
flow/dataset_join_utils.go:39
↓ 5 callersMethodAddSupply
(supply Supply)
driver/scheduler/market/cda_market.go:95
↓ 5 callersMethodEnqueue
(x interface{}, sourceId int)
util/priority_queue.go:31
↓ 5 callersFunctionSetupHttpClient
(tlsConfig *tls.Config)
util/http_util.go:18
↓ 5 callersFunction_functionCall
(fn reflect.Value, inputs ...interface{})
flow/dataset_map.go:88
↓ 5 callersMethodallocate
(req *resource.AllocationRequest)
resource/service_discovery/master/master_allocation.go:11
↓ 5 callersMethodfilename
()
netchan/store/rotating_file_store.go:283
↓ 5 callersFunctiongoStart
(wg *sync.WaitGroup, fn func())
examples/word_count/word_count.go:40
↓ 5 callersMethodopenNew
openNew opens a new log file for writing, moving any old log file out of the way. This methods assumes the file has already been closed.
netchan/store/rotating_file_store.go:204
↓ 5 callersFunctionsendKeyValuesValues
(outChan reflect.Value, key interface{}, leftType reflect.Type, leftValues []interface{}, rightType reflect.T
flow/dataset_cogroup.go:136
↓ 4 callersMethodAddDemand
retChan should be a buffered channel
driver/scheduler/market/cda_market.go:62
↓ 4 callersFunctionEncodeData
(t reflect.Value)
netchan/encode_decode.go:24
↓ 4 callersMethodGetDataCenter
(name string)
resource/topology.go:64
↓ 4 callersMethodIsEnabled
()
netchan/cert_files.go:20
↓ 4 callersFunctionNewMasterResource
()
resource/service_discovery/master/master_resources.go:26
↓ 4 callersMethodTimeTaken
()
flow/dataset_shard.go:95
↓ 4 callersFunction_functionCallWithChanOutput
(fn reflect.Value, outChan reflect.Value, inputs ...interface{})
flow/dataset_map.go:79
↓ 4 callersFunctioncollectOutput
collectOutput collects the output of d and returns them as a slice of the type specified in d.Type. Intends to be used in tests. The implementation d
flow/dataset_output.go:92
↓ 4 callersMethoddir
dir returns the directory for the current filename.
netchan/store/rotating_file_store.go:401
↓ 4 callersMethodgetExecutorStatus
(id uint32)
agent/local_executor_manager.go:21
↓ 4 callersFunctiongetKeyValue
(ch chan reflect.Value)
flow/dataset_join_utils.go:91
↓ 4 callersFunctionguessKey
(input reflect.Value)
flow/utils.go:21
↓ 4 callersMethodi
(x int)
driver/plan/group_plot.go:122
↓ 4 callersMethodmax
max returns the maximum size in bytes of log files before rolling.
netchan/store/rotating_file_store.go:393
↓ 4 callersFunctionnewChannelOfValuesWithSameKey
create a channel to aggregate values of the same key automatically close original sorted channel
flow/dataset_join_utils.go:108
↓ 3 callersMethodCloseRead
()
flow/dataset_shard.go:81
↓ 3 callersMethodCovers
(b ComputeResource)
resource/resource.go:43
↓ 3 callersFunctionDecodeData
(data []byte, t reflect.Type)
netchan/encode_decode.go:14
↓ 3 callersMethodDequeue
()
util/priority_queue.go:35
↓ 3 callersMethodDisplayName
()
flow/dataset_shard.go:41
↓ 3 callersMethodFind
(name string)
resource/service_discovery/client/name_service_agent.go:24
↓ 3 callersFunctionGenerateFileHash
(fileName string)
driver/rsync/http_server.go:115
↓ 3 callersMethodGetAgent
(name string)
resource/topology.go:80
↓ 3 callersMethodGetHashCode
()
driver/cmd/control_message.pb.go:299
↓ 3 callersMethodGetRack
(name string)
resource/topology.go:72
↓ 3 callersMethodGetStartRequestHash
()
driver/cmd/control_message.pb.go:369
↓ 3 callersMethodLen
()
util/priority_queue.go:40
↓ 3 callersMethodMergeSorted
(f interface{})
flow/dataset_sort.go:46
↓ 3 callersMethodMergedInputChan
()
flow/step_task.go:69
↓ 3 callersMethodReduceByKey
ReduceByKey runs on a dataset with (K, V) pairs, returns a dataset with (K, V) pairs, where values for the same key are aggreated by function f. Funct
flow/dataset_reduce.go:76
↓ 3 callersMethodSendForRead
(t reflect.Value)
flow/dataset_shard.go:70
↓ 3 callersMethodSetupReadingChans
()
flow/dataset_shard.go:45
↓ 3 callersFunctionUint32toBytes
(b []byte, v uint32)
util/bytes.go:34
↓ 3 callersMethodd
(dss *flow.DatasetShard)
driver/plan/group_plot.go:130
↓ 3 callersFunctiongetDirectCommandConnection
(tlsConfig *tls.Config, target string)
driver/scheduler/command_execution.go:181
↓ 3 callersFunctionguessFunctionOutputType
(f interface{})
flow/utils.go:7
↓ 3 callersFunctionisAllocated
(als []resource.Allocation, res resource.ComputeResource)
resource/service_discovery/master/master_allocation_test.go:257
↓ 3 callersFunctionlistenAndServeAtRoot
Starts a http server to serve '/' with the input handler. Returns the listener or any error.
util/http_util_test.go:25
↓ 3 callersMethodrotate
rotate closes the current file, moves it aside with a timestamp in the name, (if it exists), opens a new file with the original filename, and then run
netchan/store/rotating_file_store.go:191
↓ 2 callersMethodAddAllToOneStep
the task should run on the destination dataset shard
flow/context.go:62
↓ 2 callersMethodAddOneToOneStep
the tasks should run on the source dataset shard
flow/context.go:40
↓ 2 callersFunctionBytesToUint32
(b []byte)
util/bytes.go:14
↓ 2 callersFunctionBytesToUint64
big endian
util/bytes.go:5
↓ 2 callersMethodChannel
Channel returns a new Dataset which has the input channel as the input and sends the received values to tasks.
flow/dataset_source.go:78
↓ 2 callersMethodClosed
()
flow/dataset_shard.go:91
↓ 2 callersMethodCoGroup
(other *Dataset)
flow/dataset_cogroup.go:56
↓ 2 callersMethodDestroy
()
netchan/store/data_store.go:12
next →1–100 of 522, ranked by callers