Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/divan/txqr
/ functions
Functions
241 in github.com/divan/txqr
⨍
Functions
241
◇
Types & classes
24
↓ 3 callers
Method
QR
QR renders the QR code with accopmanying text.
cmd/txqr-tester/app/qr.go:13
↓ 3 callers
Method
SetConnected
SetConnected changes the connected status on UI.
cmd/txqr-tester/app/app.go:102
↓ 3 callers
Method
ShowNext
ShowNext handles request to show next animated QR.
cmd/txqr-tester/app/app.go:108
↓ 3 callers
Method
StartNext
StartNext starts next round of testing. It returns next untested parameters for QR code.
cmd/txqr-tester/app/session.go:52
↓ 3 callers
Method
UpdateConfig
UpdateConfig sets the new config for the session.
cmd/txqr-tester/app/session.go:46
↓ 3 callers
Method
WriteAsCSV
WriteAsCSV writes results into io.Writer in CSV format.
cmd/txqr-tester/app/csv.go:31
↓ 3 callers
Function
_filePath
(dir, name string)
cmd/txqr-tester/bindata_assetfs.go:328
↓ 3 callers
Method
chunkSizesRow
()
cmd/txqr-tester/app/settings.go:51
↓ 3 callers
Method
csv
csv returns two-dimensional slice of prepared strings, to be used with encoding/csv package.
cmd/txqr-tester/app/csv.go:15
↓ 3 callers
Method
csvButton
()
cmd/txqr-tester/app/results_table.go:87
↓ 3 callers
Method
csvDataURI
()
cmd/txqr-tester/app/csv.go:46
↓ 3 callers
Method
fpsRow
()
cmd/txqr-tester/app/settings.go:69
↓ 3 callers
Method
header
()
cmd/txqr-tester/app/app.go:84
↓ 3 callers
Method
hint
()
cmd/txqr-tester/app/settings.go:212
↓ 3 callers
Method
mainQR
()
cmd/txqr-tester/app/qr.go:88
↓ 3 callers
Method
numEnabled
numEnabled returns number of enabled levels.
cmd/txqr-tester/app/session.go:165
↓ 3 callers
Function
numberOfChunks
(length, chunkLen int)
encode.go:55
↓ 3 callers
Method
processWSCommand
(data []byte)
cmd/txqr-tester/app/ws.go:55
↓ 3 callers
Method
recoveryLevelsRow
()
cmd/txqr-tester/app/settings.go:160
↓ 3 callers
Method
sendCommand
(req ws.UIRequest)
cmd/txqr-tester/mobile/txqr.go:65
↓ 3 callers
Function
solitonDistribution
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 callers
Method
startQR
()
cmd/txqr-tester/app/qr.go:84
↓ 3 callers
Function
synthesizeMethod
(target, m, f)
cmd/txqr-tester/app/app.js:889
↓ 3 callers
Method
table
()
cmd/txqr-tester/app/results_table.go:49
↓ 3 callers
Method
thead
()
cmd/txqr-tester/app/results_table.go:59
↓ 3 callers
Method
tresults
()
cmd/txqr-tester/app/results_table.go:70
↓ 2 callers
Function
$getStackDepth
()
cmd/txqr-tester/app/app.js:1360
↓ 2 callers
Function
$isASCII
(s)
cmd/txqr-tester/app/app.js:2081
↓ 2 callers
Function
$needsExternalization
(t)
cmd/txqr-tester/app/app.js:1716
↓ 2 callers
Function
$setTimeout
(f, t)
cmd/txqr-tester/app/app.js:1538
↓ 2 callers
Function
AnimatedGif
(data []byte, imgSize int, setup *testSetup)
cmd/txqr-tester/app/gif.go:14
↓ 2 callers
Method
Length
Length returns length of the decoded data. TODO: remove
decode.go:115
↓ 2 callers
Function
NewApp
NewApp creates and inits new app page.
cmd/txqr-tester/app/app.go:33
↓ 2 callers
Function
NewResult
NewResult constructs a new result.
cmd/txqr-tester/app/result.go:12
↓ 2 callers
Function
NewResultsTable
NewResultsTable creates and inits new results table widget.
cmd/txqr-tester/app/results_table.go:18
↓ 2 callers
Function
NewSettings
NewSettings creates and inits new settings widget.
cmd/txqr-tester/app/settings.go:22
↓ 2 callers
Function
NewWSClient
(address string, app *App)
cmd/txqr-tester/app/ws.go:21
↓ 2 callers
Function
chunksCountToDelete
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 callers
Function
eraseChunks
eraseChunks randomly erases n chunks from the input slice.
txqr_test.go:116
↓ 2 callers
Function
formatDuration
formatDuration converts "12.232312313s" to "12.2s"
mobile/decode.go:81
↓ 2 callers
Function
fpsToGifDelay
fpsToGifDelay converts fps value into animated GIF delay value, which is in 100th of second
cmd/txqr-tester/app/gif.go:45
↓ 2 callers
Function
loader
()
cmd/txqr-tester/app/loader.go:8
↓ 2 callers
Function
newTestData
(size int)
txqr_test.go:243
↓ 2 callers
Function
newTestData
()
cmd/txqr-tester/app/app.go:141
↓ 2 callers
Function
newTestSetup
(fps, sz int, lvl qr.RecoveryLevel)
cmd/txqr-tester/app/session.go:107
↓ 2 callers
Function
removeFromQueues
()
cmd/txqr-tester/app/app.js:1671
↓ 2 callers
Function
renderGIF
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 callers
Function
renderPNG
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 callers
Function
searchJsObject
(v, t)
cmd/txqr-tester/app/app.js:1815
↓ 2 callers
Function
tableRow
(r Result)
cmd/txqr-tester/app/results_table.go:78
↓ 2 callers
Method
talkToBackend
talkToBackend establishes connection with backend and updates UI state based on output from backend.
cmd/txqr-tester/app/ws.go:32
↓ 1 callers
Function
$addMethodSynthesizer
(f)
cmd/txqr-tester/app/app.js:643
↓ 1 callers
Function
$externalizeFunction
(v, t, passThis)
cmd/txqr-tester/app/app.js:1852
↓ 1 callers
Function
$floatKey
(f)
cmd/txqr-tester/app/app.js:446
↓ 1 callers
Function
$flushConsole
()
cmd/txqr-tester/app/app.js:27
↓ 1 callers
Function
$interfaceType
(methods)
cmd/txqr-tester/app/app.js:1187
↓ 1 callers
Function
$makeFunc
(fn)
cmd/txqr-tester/app/app.js:31
↓ 1 callers
Function
$runScheduled
()
cmd/txqr-tester/app/app.js:1514
↓ 1 callers
Function
$runesToString
(slice)
cmd/txqr-tester/app/app.js:231
↓ 1 callers
Function
$stringToRunes
(str)
cmd/txqr-tester/app/app.js:221
↓ 1 callers
Function
$synthesizeMethods
()
cmd/txqr-tester/app/app.js:650
↓ 1 callers
Function
$throw
(err)
cmd/txqr-tester/app/app.js:1467
↓ 1 callers
Function
AnimatedGif
(data []byte, imgSize int, fps, size int, lvl qr.RecoveryLevel)
cmd/txqr-gif/main.go:48
↓ 1 callers
Function
AssetDir
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 callers
Function
AssetInfo
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 callers
Method
DataBytes
DataBytes returns decoded data as a byte slice.
decode.go:102
↓ 1 callers
Function
Decode
Decode an image with QR code.
qr/qr.go:39
↓ 1 callers
Function
GetLocalIP
GetLocalIP returns the non loopback local IP of the host.
cmd/txqr-tester/ip.go:6
↓ 1 callers
Method
Handle
(w http.ResponseWriter, r *http.Request)
cmd/txqr-tester/ws.go:27
↓ 1 callers
Method
KeyListener
KeyListener implements listener for keydown events.
cmd/txqr-tester/app/keys.go:10
↓ 1 callers
Function
NewWSBridge
()
cmd/txqr-tester/ws.go:18
↓ 1 callers
Method
ReadyScreen
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 callers
Function
RestoreAsset
RestoreAsset restores an asset under the given directory
cmd/txqr-tester/bindata_assetfs.go:287
↓ 1 callers
Function
StartApp
StartApp generates app page, serves it via http and tries to open it using default browser.
cmd/txqr-tester/web.go:33
↓ 1 callers
Function
StartBrowser
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 callers
Method
Total
Total returns total amount of data.
decode.go:126
↓ 1 callers
Method
Validate
Validate checks if a given chunk of data is a valid txqr protocol packet.
decode.go:83
↓ 1 callers
Function
appAppJsBytes
()
cmd/txqr-tester/bindata_assetfs.go:98
↓ 1 callers
Function
appCssBulmaCssBytes
()
cmd/txqr-tester/bindata_assetfs.go:138
↓ 1 callers
Function
appCssBulmaExtensionsMinCssBytes
()
cmd/txqr-tester/bindata_assetfs.go:118
↓ 1 callers
Function
appCssCustomCssBytes
()
cmd/txqr-tester/bindata_assetfs.go:158
↓ 1 callers
Function
appIndexTmplBytes
()
cmd/txqr-tester/bindata_assetfs.go:78
↓ 1 callers
Function
assetFS
()
cmd/txqr-tester/bindata_assetfs.go:334
↓ 1 callers
Function
clearScreen
TODO(divan): replace with crossplatform version
cmd/txqr-ascii/main.go:69
↓ 1 callers
Method
connect
()
cmd/txqr-tester/mobile/txqr.go:58
↓ 1 callers
Function
fpsToGifDelay
fpsToGifDelay converts fps value into animated GIF delay value, which is in 100th of second
cmd/txqr-gif/main.go:78
↓ 1 callers
Method
handleFirstClient
()
cmd/txqr-tester/ws.go:49
↓ 1 callers
Method
handleSecondClient
()
cmd/txqr-tester/ws.go:69
↓ 1 callers
Function
handler
handler handles index page.
cmd/txqr-tester/web.go:52
↓ 1 callers
Function
ids
ids create slice with IDs for 0..n values.
fountain.go:24
↓ 1 callers
Method
isCached
isCached takes the header of chunk data and see if it's been cached. If not, it caches it.
decode.go:147
↓ 1 callers
Function
main
()
cmd/txqr-tester/app/main.go:7
↓ 1 callers
Function
redirectToIndex
(h http.Handler)
cmd/txqr-tester/web.go:81
↓ 1 callers
Method
updateProgress
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
← previous
next →
101–200 of 241, ranked by callers