Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/sqshq/sampler
/ functions
Functions
208 in github.com/sqshq/sampler
⨍
Functions
208
◇
Types & classes
66
↓ 1 callers
Function
NewTriggers
(cfgs []config.TriggerConfig, consumer *Consumer, options config.Options, player *asset.AudioPlayer)
data/trigger.go:41
↓ 1 callers
Method
Pause
(pause bool)
data/sampler.go:87
↓ 1 callers
Function
PrintString
(s string, style ui.Style, p image.Point, buffer *ui.Buffer)
component/util/format.go:117
↓ 1 callers
Method
Read
(p []byte)
asset/file.go:16
↓ 1 callers
Function
RestoreAsset
RestoreAsset restores an asset under the given directory
asset/bindata.go:237
↓ 1 callers
Method
Up
()
component/menu.go:71
↓ 1 callers
Function
Update
(settings []ComponentSettings, options Options)
config/config.go:48
↓ 1 callers
Method
WerePositionsChanged
()
component/layout/layout.go:364
↓ 1 callers
Method
addBar
(label string, color ui.Color)
component/barchart/barchart.go:102
↓ 1 callers
Function
addRadixChars
(value float64)
component/util/format.go:61
↓ 1 callers
Function
allHaveNoPosition
(components []*ComponentConfig)
config/arrangement.go:65
↓ 1 callers
Function
arrangeIntoLargestComponent
(component *ComponentConfig, lc *ComponentConfig)
config/arrangement.go:32
↓ 1 callers
Function
arrangeIntoLargestEmptySpace
(component *ComponentConfig, le image.Rectangle)
config/arrangement.go:58
↓ 1 callers
Function
calcMaxRectangle
(histogram [console.ColumnsCount]int, row int)
config/arrangement.go:153
↓ 1 callers
Function
calcMinRenderRate
(layout *layout.Layout)
event/handler.go:102
↓ 1 callers
Function
calculateTimescale
time duration between grid lines
component/runchart/runchart.go:349
↓ 1 callers
Method
consumeSample
(sample *data.Sample)
component/runchart/runchart.go:157
↓ 1 callers
Method
consumeSample
(sample *data.Sample)
component/barchart/barchart.go:67
↓ 1 callers
Method
consumeSample
(sample *data.Sample)
component/sparkline/sparkline.go:53
↓ 1 callers
Function
countEmptyCellsBelow
(grid [console.RowsCount][console.ColumnsCount]int, row int, column int)
config/arrangement.go:187
↓ 1 callers
Function
createHistogram
(grid [console.RowsCount][console.ColumnsCount]int, row int)
config/arrangement.go:179
↓ 1 callers
Function
data2dFlfBytes
()
asset/bindata.go:93
↓ 1 callers
Function
data3dFlfBytes
()
asset/bindata.go:73
↓ 1 callers
Function
dataQuindarToneMp3Bytes
()
asset/bindata.go:113
↓ 1 callers
Method
disableSelection
()
component/runchart/runchart.go:336
↓ 1 callers
Method
drawInnerBorder
(buffer *ui.Buffer)
component/menu.go:216
↓ 1 callers
Method
evaluate
(sample *Sample)
data/trigger.go:96
↓ 1 callers
Method
findComponent
(componentType ComponentType, componentTitle string)
config/config.go:57
↓ 1 callers
Method
findComponentAtPoint
(point image.Point)
component/layout/layout.go:320
↓ 1 callers
Function
formatTrailingDigits
(value string, scale int)
component/util/format.go:90
↓ 1 callers
Function
getColumnWidth
(mode Mode, lines []TimeLine, scale int)
component/runchart/legend.go:87
↓ 1 callers
Function
getComponents
(c *Config)
config/arrangement.go:92
↓ 1 callers
Function
getCurrentValue
(line TimeLine)
component/runchart/legend.go:109
↓ 1 callers
Function
getDiffWithPreviousValue
(line TimeLine)
component/runchart/legend.go:102
↓ 1 callers
Function
getInitScripts
(item config.Item)
data/item.go:109
↓ 1 callers
Function
getLargestComponent
(components []*ComponentConfig)
config/arrangement.go:74
↓ 1 callers
Function
getLargestEmptySpaceRectangle
(components []*ComponentConfig)
config/arrangement.go:127
↓ 1 callers
Function
getLocalExtrema
(items []TimeLine, timeRange TimeRange)
component/runchart/grid.go:116
↓ 1 callers
Function
getMidRangeTime
(r TimeRange)
component/runchart/runchart.go:343
↓ 1 callers
Function
getPosition
(location Location, size Size)
config/component.go:135
↓ 1 callers
Method
getTimeRange
(linesCount int)
component/runchart/grid.go:101
↓ 1 callers
Method
handleModeChange
(m layout.Mode)
event/handler.go:68
↓ 1 callers
Method
initInteractiveShell
(v []string)
data/item.go:79
↓ 1 callers
Function
mergeVariables
option variables takes precedence over the file variables with the same name
data/sampler.go:76
↓ 1 callers
Method
moveSelection
(shift int)
component/runchart/runchart.go:316
↓ 1 callers
Method
newChartGrid
()
component/runchart/grid.go:22
↓ 1 callers
Method
newTimePoint
(value float64)
component/runchart/runchart.go:120
↓ 1 callers
Method
nextValue
(variables []string)
data/item.go:45
↓ 1 callers
Method
renderAxes
(buffer *ui.Buffer)
component/runchart/grid.go:37
↓ 1 callers
Method
renderHighlight
(buffer *ui.Buffer)
component/menu.go:124
↓ 1 callers
Method
renderLegend
(buffer *ui.Buffer, rectangle image.Rectangle)
component/runchart/legend.go:26
↓ 1 callers
Method
renderLines
(buffer *ui.Buffer, drawArea image.Rectangle)
component/runchart/runchart.go:195
↓ 1 callers
Method
renderMoveAndResize
(buffer *ui.Buffer)
component/menu.go:159
↓ 1 callers
Method
renderOptions
(buffer *ui.Buffer)
component/menu.go:190
↓ 1 callers
Method
renderText
(sample *data.Sample)
component/asciibox/asciibox.go:70
↓ 1 callers
Method
reselectMaxValue
()
component/barchart/barchart.go:106
↓ 1 callers
Method
resetAlerts
()
component/layout/layout.go:358
↓ 1 callers
Method
sample
(item *Item, options config.Options)
data/sampler.go:57
↓ 1 callers
Function
saveFile
(config *Config, fileName *string)
config/config.go:119
↓ 1 callers
Method
setDefaultArrangement
()
config/arrangement.go:9
↓ 1 callers
Method
setDefaultItemSettings
()
config/default.go:176
↓ 1 callers
Method
setDefaultValues
()
config/default.go:19
↓ 1 callers
Method
setDefaults
()
config/default.go:13
↓ 1 callers
Function
setSingleComponentPosition
(c *ComponentConfig)
config/arrangement.go:118
↓ 1 callers
Method
startAll
()
main.go:29
↓ 1 callers
Method
trimOutOfRangeValues
()
component/runchart/runchart.go:290
↓ 1 callers
Method
updateConfigFile
()
event/handler.go:93
↓ 1 callers
Method
validate
()
config/validator.go:8
↓ 1 callers
Function
validateTitlesUniqueness
(components []ComponentConfig)
config/validator.go:70
Function
AssetNames
AssetNames returns the names of the assets.
asset/bindata.go:173
Method
Draw
(buffer *ui.Buffer)
component/statusbar.go:40
Method
Draw
(buffer *ui.Buffer)
component/layout/layout.go:298
Method
Draw
(buffer *ui.Buffer)
component/asciibox/asciibox.go:80
Method
Draw
(buffer *ui.Buffer)
component/textbox/textbox.go:49
Method
Draw
Draw renders the barchart
component/barchart/barchart.go:117
Method
Draw
(buffer *ui.Buffer)
component/sparkline/sparkline.go:94
Method
Draw
(buffer *ui.Buffer)
component/gauge/gauge.go:81
Method
IsDir
()
asset/bindata.go:64
Function
MustAsset
MustAsset is like Asset but panics when Asset would return an error. It simplifies safe initialization of global variables.
asset/bindata.go:148
Method
Name
()
asset/bindata.go:52
Function
RestoreAssets
RestoreAssets restores an asset under the given directory recursively
asset/bindata.go:262
Method
Size
()
asset/bindata.go:55
Method
StartWithIntro
()
component/layout/layout.go:70
Method
Sys
()
asset/bindata.go:67
Function
TestConsumer_HandleConsumeFailure
(t *testing.T)
data/consumer_test.go:31
Function
TestConsumer_HandleConsumeSuccess
(t *testing.T)
data/consumer_test.go:9
Function
TestFormatValue
(t *testing.T)
component/util/format_test.go:5
Function
TestGetGradientColor
(t *testing.T)
console/palette_test.go:50
Function
TestGetPalette
(t *testing.T)
console/palette_test.go:9
Function
TestGetPaletteInvalidTheme
(t *testing.T)
console/palette_test.go:38
Function
TestGetRectBottomSideCenter
(t *testing.T)
component/util/geometry_test.go:42
Function
TestGetRectLeftSideCenter
(t *testing.T)
component/util/geometry_test.go:6
Function
TestGetRectRightSideCenter
(t *testing.T)
component/util/geometry_test.go:18
Function
TestGetRectTopSideCenter
(t *testing.T)
component/util/geometry_test.go:30
Function
TestNewConsumer
(t *testing.T)
data/consumer_test.go:68
Function
TestParseFloat
(t *testing.T)
component/util/parse_test.go:5
Function
TestSparkLine_trimOutOfRangeValues
(t *testing.T)
component/sparkline/sparkline_test.go:7
Function
Test_calculatePercent
(t *testing.T)
component/gauge/gauge_test.go:5
Function
data2dFlf
()
asset/bindata.go:100
Function
data3dFlf
()
asset/bindata.go:80
← previous
next →
101–200 of 208, ranked by callers