MCPcopy Index your code

hub / github.com/divan/txqr / functions

Functions241 in github.com/divan/txqr

↓ 3 callersMethodQR
QR renders the QR code with accopmanying text.
cmd/txqr-tester/app/qr.go:13
↓ 3 callersMethodSetConnected
SetConnected changes the connected status on UI.
cmd/txqr-tester/app/app.go:102
↓ 3 callersMethodShowNext
ShowNext handles request to show next animated QR.
cmd/txqr-tester/app/app.go:108
↓ 3 callersMethodStartNext
StartNext starts next round of testing. It returns next untested parameters for QR code.
cmd/txqr-tester/app/session.go:52
↓ 3 callersMethodUpdateConfig
UpdateConfig sets the new config for the session.
cmd/txqr-tester/app/session.go:46
↓ 3 callersMethodWriteAsCSV
WriteAsCSV writes results into io.Writer in CSV format.
cmd/txqr-tester/app/csv.go:31
↓ 3 callersFunction_filePath
(dir, name string)
cmd/txqr-tester/bindata_assetfs.go:328
↓ 3 callersMethodchunkSizesRow
()
cmd/txqr-tester/app/settings.go:51
↓ 3 callersMethodcsv
csv returns two-dimensional slice of prepared strings, to be used with encoding/csv package.
cmd/txqr-tester/app/csv.go:15
↓ 3 callersMethodcsvButton
()
cmd/txqr-tester/app/results_table.go:87
↓ 3 callersMethodcsvDataURI
()
cmd/txqr-tester/app/csv.go:46
↓ 3 callersMethodfpsRow
()
cmd/txqr-tester/app/settings.go:69
↓ 3 callersMethodheader
()
cmd/txqr-tester/app/app.go:84
↓ 3 callersMethodhint
()
cmd/txqr-tester/app/settings.go:212
↓ 3 callersMethodmainQR
()
cmd/txqr-tester/app/qr.go:88
↓ 3 callersMethodnumEnabled
numEnabled returns number of enabled levels.
cmd/txqr-tester/app/session.go:165
↓ 3 callersFunctionnumberOfChunks
(length, chunkLen int)
encode.go:55
↓ 3 callersMethodprocessWSCommand
(data []byte)
cmd/txqr-tester/app/ws.go:55
↓ 3 callersMethodrecoveryLevelsRow
()
cmd/txqr-tester/app/settings.go:160
↓ 3 callersMethodsendCommand
(req ws.UIRequest)
cmd/txqr-tester/mobile/txqr.go:65
↓ 3 callersFunctionsolitonDistribution
Note that these CDFs (cumulative distribution function) will be used for selecting source blocks for code block generation. A typical algorithm is to
fountain.go:14
↓ 3 callersMethodstartQR
()
cmd/txqr-tester/app/qr.go:84
↓ 3 callersFunctionsynthesizeMethod
(target, m, f)
cmd/txqr-tester/app/app.js:889
↓ 3 callersMethodtable
()
cmd/txqr-tester/app/results_table.go:49
↓ 3 callersMethodthead
()
cmd/txqr-tester/app/results_table.go:59
↓ 3 callersMethodtresults
()
cmd/txqr-tester/app/results_table.go:70
↓ 2 callersFunction$getStackDepth
()
cmd/txqr-tester/app/app.js:1360
↓ 2 callersFunction$isASCII
(s)
cmd/txqr-tester/app/app.js:2081
↓ 2 callersFunction$needsExternalization
(t)
cmd/txqr-tester/app/app.js:1716
↓ 2 callersFunction$setTimeout
(f, t)
cmd/txqr-tester/app/app.js:1538
↓ 2 callersFunctionAnimatedGif
(data []byte, imgSize int, setup *testSetup)
cmd/txqr-tester/app/gif.go:14
↓ 2 callersMethodLength
Length returns length of the decoded data. TODO: remove
decode.go:115
↓ 2 callersFunctionNewApp
NewApp creates and inits new app page.
cmd/txqr-tester/app/app.go:33
↓ 2 callersFunctionNewResult
NewResult constructs a new result.
cmd/txqr-tester/app/result.go:12
↓ 2 callersFunctionNewResultsTable
NewResultsTable creates and inits new results table widget.
cmd/txqr-tester/app/results_table.go:18
↓ 2 callersFunctionNewSettings
NewSettings creates and inits new settings widget.
cmd/txqr-tester/app/settings.go:22
↓ 2 callersFunctionNewWSClient
(address string, app *App)
cmd/txqr-tester/app/ws.go:21
↓ 2 callersFunctionchunksCountToDelete
chunksCountToDelete returns random number of chunks for deletion, using normal distribution with 2 std deviation and N/3 as a mean.
txqr_test.go:135
↓ 2 callersFunctioneraseChunks
eraseChunks randomly erases n chunks from the input slice.
txqr_test.go:116
↓ 2 callersFunctionformatDuration
formatDuration converts "12.232312313s" to "12.2s"
mobile/decode.go:81
↓ 2 callersFunctionfpsToGifDelay
fpsToGifDelay converts fps value into animated GIF delay value, which is in 100th of second
cmd/txqr-tester/app/gif.go:45
↓ 2 callersFunctionloader
()
cmd/txqr-tester/app/loader.go:8
↓ 2 callersFunctionnewTestData
(size int)
txqr_test.go:243
↓ 2 callersFunctionnewTestData
()
cmd/txqr-tester/app/app.go:141
↓ 2 callersFunctionnewTestSetup
(fps, sz int, lvl qr.RecoveryLevel)
cmd/txqr-tester/app/session.go:107
↓ 2 callersFunctionremoveFromQueues
()
cmd/txqr-tester/app/app.js:1671
↓ 2 callersFunctionrenderGIF
renderGIF is a helper for converting animated gif raw bytes into vecty-compatible component displaying this image as aGIF.
cmd/txqr-tester/app/image.go:35
↓ 2 callersFunctionrenderPNG
renderPNG is a helper for converting image.Image into vecty-compatible component displaying this image as PNG.
cmd/txqr-tester/app/image.go:17
↓ 2 callersFunctionsearchJsObject
(v, t)
cmd/txqr-tester/app/app.js:1815
↓ 2 callersFunctiontableRow
(r Result)
cmd/txqr-tester/app/results_table.go:78
↓ 2 callersMethodtalkToBackend
talkToBackend establishes connection with backend and updates UI state based on output from backend.
cmd/txqr-tester/app/ws.go:32
↓ 1 callersFunction$addMethodSynthesizer
(f)
cmd/txqr-tester/app/app.js:643
↓ 1 callersFunction$externalizeFunction
(v, t, passThis)
cmd/txqr-tester/app/app.js:1852
↓ 1 callersFunction$floatKey
(f)
cmd/txqr-tester/app/app.js:446
↓ 1 callersFunction$flushConsole
()
cmd/txqr-tester/app/app.js:27
↓ 1 callersFunction$interfaceType
(methods)
cmd/txqr-tester/app/app.js:1187
↓ 1 callersFunction$makeFunc
(fn)
cmd/txqr-tester/app/app.js:31
↓ 1 callersFunction$runScheduled
()
cmd/txqr-tester/app/app.js:1514
↓ 1 callersFunction$runesToString
(slice)
cmd/txqr-tester/app/app.js:231
↓ 1 callersFunction$stringToRunes
(str)
cmd/txqr-tester/app/app.js:221
↓ 1 callersFunction$synthesizeMethods
()
cmd/txqr-tester/app/app.js:650
↓ 1 callersFunction$throw
(err)
cmd/txqr-tester/app/app.js:1467
↓ 1 callersFunctionAnimatedGif
(data []byte, imgSize int, fps, size int, lvl qr.RecoveryLevel)
cmd/txqr-gif/main.go:48
↓ 1 callersFunctionAssetDir
AssetDir returns the file names below a certain directory embedded in the file by go-bindata. For example if you run go-bindata on data/... and data c
cmd/txqr-tester/bindata_assetfs.go:248
↓ 1 callersFunctionAssetInfo
AssetInfo loads and returns the asset info for the given name. It returns an error if the asset could not be found or could not be loaded.
cmd/txqr-tester/bindata_assetfs.go:205
↓ 1 callersMethodDataBytes
DataBytes returns decoded data as a byte slice.
decode.go:102
↓ 1 callersFunctionDecode
Decode an image with QR code.
qr/qr.go:39
↓ 1 callersFunctionGetLocalIP
GetLocalIP returns the non loopback local IP of the host.
cmd/txqr-tester/ip.go:6
↓ 1 callersMethodHandle
(w http.ResponseWriter, r *http.Request)
cmd/txqr-tester/ws.go:27
↓ 1 callersMethodKeyListener
KeyListener implements listener for keydown events.
cmd/txqr-tester/app/keys.go:10
↓ 1 callersFunctionNewWSBridge
()
cmd/txqr-tester/ws.go:18
↓ 1 callersMethodReadyScreen
ReadyScreen renders the widget with call to be ready to scan animated QR codes and point smartphone app to it.
cmd/txqr-tester/app/ready_screen.go:10
↓ 1 callersFunctionRestoreAsset
RestoreAsset restores an asset under the given directory
cmd/txqr-tester/bindata_assetfs.go:287
↓ 1 callersFunctionStartApp
StartApp generates app page, serves it via http and tries to open it using default browser.
cmd/txqr-tester/web.go:33
↓ 1 callersFunctionStartBrowser
StartBrowser tries to open the URL in a browser and reports whether it succeeds. Orig. code: golang.org/x/tools/cmd/cover/html.go
cmd/txqr-tester/web.go:65
↓ 1 callersMethodTotal
Total returns total amount of data.
decode.go:126
↓ 1 callersMethodValidate
Validate checks if a given chunk of data is a valid txqr protocol packet.
decode.go:83
↓ 1 callersFunctionappAppJsBytes
()
cmd/txqr-tester/bindata_assetfs.go:98
↓ 1 callersFunctionappCssBulmaCssBytes
()
cmd/txqr-tester/bindata_assetfs.go:138
↓ 1 callersFunctionappCssBulmaExtensionsMinCssBytes
()
cmd/txqr-tester/bindata_assetfs.go:118
↓ 1 callersFunctionappCssCustomCssBytes
()
cmd/txqr-tester/bindata_assetfs.go:158
↓ 1 callersFunctionappIndexTmplBytes
()
cmd/txqr-tester/bindata_assetfs.go:78
↓ 1 callersFunctionassetFS
()
cmd/txqr-tester/bindata_assetfs.go:334
↓ 1 callersFunctionclearScreen
TODO(divan): replace with crossplatform version
cmd/txqr-ascii/main.go:69
↓ 1 callersMethodconnect
()
cmd/txqr-tester/mobile/txqr.go:58
↓ 1 callersFunctionfpsToGifDelay
fpsToGifDelay converts fps value into animated GIF delay value, which is in 100th of second
cmd/txqr-gif/main.go:78
↓ 1 callersMethodhandleFirstClient
()
cmd/txqr-tester/ws.go:49
↓ 1 callersMethodhandleSecondClient
()
cmd/txqr-tester/ws.go:69
↓ 1 callersFunctionhandler
handler handles index page.
cmd/txqr-tester/web.go:52
↓ 1 callersFunctionids
ids create slice with IDs for 0..n values.
fountain.go:24
↓ 1 callersMethodisCached
isCached takes the header of chunk data and see if it's been cached. If not, it caches it.
decode.go:147
↓ 1 callersFunctionmain
()
cmd/txqr-tester/app/main.go:7
↓ 1 callersFunctionredirectToIndex
(h http.Handler)
cmd/txqr-tester/web.go:81
↓ 1 callersMethodupdateProgress
updateProgress updates progress and complete state of reading.
mobile/decode.go:99
Function$Chan
(elem, capacity)
cmd/txqr-tester/app/app.js:1150
Function$call
(fn, rcvr, args)
cmd/txqr-tester/app/app.js:30
Function$divComplex
(n, d)
cmd/txqr-tester/app/app.js:583
Function$goroutine
()
cmd/txqr-tester/app/app.js:1475
Function$idKey
(x)
cmd/txqr-tester/app/app.js:667
Function$identity
(x)
cmd/txqr-tester/app/app.js:663
← previousnext →101–200 of 241, ranked by callers