MCPcopy Create free account

hub / github.com/TheFlashBold/tune-editor / functions

Functions342 in github.com/TheFlashBold/tune-editor

↓ 72 callersMethodhas
(id: number)
src/lib/olsParser.ts:426
↓ 61 callersMethodreadU32
()
src/lib/olsParser.ts:433
↓ 38 callersFunctiontrack
(event: string, props: Record<string, string | number | boolean> = {})
src/lib/track.ts:82
↓ 37 callersFunctionreadStringSafe
(data: Uint8Array, index: number, maxLength: number, minLength: number = 1)
src/lib/binUtils.ts:74
↓ 27 callersFunctionformatValue
(value: number, decimals: number = 2)
src/lib/binUtils.ts:568
↓ 22 callersFunctionreadAxisData
(data: Uint8Array, axis: AxisDefinition, calOffset: number = 0, bigEndian: boolean = false)
src/lib/binUtils.ts:528
↓ 21 callersFunctionv
(k: string, fallback = 0)
src/lib/wizards/popsBangs.ts:291
↓ 18 callersFunctionwriteMap
(name: string, data: number[][], x: number[], y: number[])
src/lib/wizards/is38Upgrade.ts:216
↓ 17 callersMethodreadF64
()
src/lib/olsParser.ts:441
↓ 17 callersFunctionreadU32
(data: DataView, offset: number)
src/lib/olsParser.ts:93
↓ 16 callersMethodreadBool
()
src/lib/olsParser.ts:432
↓ 13 callersFunctionnorm
(v: number, mn: number, mx: number)
src/components/ValueEditor.tsx:992
↓ 11 callersMethodgetJSON
(path: string, queryParams: GenericObject = {}, init: RequestInit = {})
src/services/base.ts:64
↓ 11 callersFunctionproj
(x: number, y: number, z: number)
src/components/ValueEditor.tsx:1015
↓ 11 callersFunctionprojScreen
(x: number, y: number, z: number)
src/components/ValueEditor.tsx:1222
↓ 11 callersFunctionreadParameterValue
(data: Uint8Array, param: IDefinitionParameter, calOffset: number = 0, bigEndian: boolean = false)
src/lib/binUtils.ts:476
↓ 10 callersFunctionfindParam
(params: IDefinitionParameter[], name: string)
src/components/WizardModal.tsx:32
↓ 10 callersFunctionreadTableData
(data: Uint8Array, param: IDefinitionParameter, calOffset: number = 0, bigEndian: boolean = false)
src/lib/binUtils.ts:486
↓ 9 callersFunctionmobileAction
(fn: () => void)
src/components/MenuBar.tsx:292
↓ 9 callersFunctionround
(v: number)
src/lib/wizards/gearRatio.ts:26
↓ 8 callersFunctionformatValueConsistent
(value: number, decimals: number)
src/lib/binUtils.ts:588
↓ 8 callersFunctiongetConsistentDecimals
(values: number[], maxDecimals: number = 2)
src/lib/binUtils.ts:577
↓ 8 callersFunctiongridPoint
(xAx: number[], yAx: number[], zGrid: number[][], r: number, c: number)
src/components/ValueEditor.tsx:1031
↓ 8 callersMethodreadString
()
src/lib/olsParser.ts:462
↓ 7 callersFunctiondecodeCP1252
Decode Windows-1252 bytes to string
src/lib/olsParser.ts:108
↓ 7 callersFunctiongetFieldColor
(field: string)
src/components/LogViewer.tsx:280
↓ 7 callersFunctionscaleX
(val: number)
src/components/ValueEditor.tsx:449
↓ 7 callersFunctionscaleY
(val: number)
src/components/ValueEditor.tsx:450
↓ 7 callersFunctionv
(k: string, fallback = 0)
src/lib/wizards/stage1.ts:232
↓ 7 callersFunctionwriteAxisValue
( data: Uint8Array, axis: AxisDefinition, index: number, physValue: number, calOffset: num
src/lib/binUtils.ts:548
↓ 6 callersFunctioncheckPatchBlockAware
(blocks: BtpBlock[], binData: Uint8Array, calFileOffset: number | null)
src/lib/btpParser.ts:208
↓ 6 callersFunctionreadEPK
(data: Uint8Array)
src/lib/binUtils.ts:199
↓ 6 callersFunctionreadU32LE
(data: Uint8Array, offset: number)
src/lib/btpParser.ts:85
↓ 6 callersFunctionuseAppContext
()
src/context/app.ts:73
↓ 6 callersFunctionwriteTableCell
( data: Uint8Array, param: IDefinitionParameter, row: number, col: number, physValue: numb
src/lib/binUtils.ts:509
↓ 5 callersFunctionaddressToOffset
(address: number, calOffset: number = 0)
src/lib/binUtils.ts:365
↓ 5 callersFunctionfindBytes
Find a 4-byte pattern in buffer starting from `from` up to `to`
src/lib/olsParser.ts:139
↓ 5 callersFunctionfractionalIndex
(axis: number[], value: number)
src/lib/logMapping.ts:244
↓ 5 callersMethodisLocalhost
()
src/services/tuning.ts:59
↓ 5 callersFunctionloadDefinitionIndex
()
src/lib/definitionLoader.ts:14
↓ 5 callersFunctionnormalizeSelection
(sel: Selection)
src/components/ValueEditor.tsx:1541
↓ 5 callersFunctionupdateDraggedPoint
(clientY: number)
src/components/ValueEditor.tsx:889
↓ 5 callersFunctionwriteU32LE
(data: Uint8Array, offset: number, value: number)
src/lib/btpParser.ts:239
↓ 4 callersFunctionapplyConversion
(raw: number, factor: number, offset: number, formula?: import('../types').RationalFormula)
src/lib/binUtils.ts:450
↓ 4 callersMethodbuildRequestUrl
(path: string, queryParams: GenericObject = {})
src/services/base.ts:39
↓ 4 callersFunctionclampMin
(name: string, min: number)
src/lib/wizards/is38Upgrade.ts:254
↓ 4 callersFunctioncollect
(node: TreeNode, isRoot: boolean)
src/components/CategoryTree.tsx:238
↓ 4 callersFunctionfixFloat
(s: string)
src/lib/xdfParser.ts:5
↓ 4 callersFunctiongetLoginState
()
src/services/base.ts:13
↓ 4 callersFunctionisCalOnly
(data: Uint8Array)
src/lib/binUtils.ts:185
↓ 4 callersFunctionmatchScore
* Score how well `text` matches `pattern`. Higher = better match. * Returns 0 for no match. * * Scoring: base score + position bonus (earlier match
src/components/CategoryTree.tsx:15
↓ 4 callersFunctionmodifySelection
(operation: 'add' | 'multiply' | 'set', value: number)
src/components/ValueEditor.tsx:1974
↓ 4 callersFunctionparseEcuInfo
(nameOrEpk: string)
src/lib/btpParser.ts:24
↓ 4 callersFunctionquantizePhysicalValue
(phys: number, dataType: DataType, factor: number, offset: number, formula?: import('../types').RationalFormul
src/lib/binUtils.ts:470
↓ 4 callersFunctionreadBoxCode
(data: Uint8Array)
src/lib/binUtils.ts:96
↓ 4 callersMethodreadI32
()
src/lib/olsParser.ts:437
↓ 4 callersMethodreadMLS
()
src/lib/olsParser.ts:480
↓ 4 callersFunctionreadStr
()
src/lib/olsParser.ts:180
↓ 4 callersFunctionreadVersion
(data: Uint8Array)
src/lib/binUtils.ts:334
↓ 4 callersFunctionreverseConversion
(phys: number, factor: number, offset: number, formula?: import('../types').RationalFormula)
src/lib/binUtils.ts:459
↓ 4 callersFunctionwriteParameterValue
(data: Uint8Array, param: IDefinitionParameter, physValue: number, calOffset: number = 0, bigEndian: boolean =
src/lib/binUtils.ts:481
↓ 3 callersFunctionaddRange
(offset: number, length: number)
src/hooks/useAppState.ts:282
↓ 3 callersMethodbuildAxisDef
(rawAxis: RawAxisDescr)
src/lib/a2lParser.ts:337
↓ 3 callersFunctionbuildSurface
(xAx: number[], yAx: number[], zGrid: number[][], colorFn: (t: number) => [numbe
src/components/ValueEditor.tsx:1055
↓ 3 callersFunctionbuildWireframe
(xAx: number[], yAx: number[], zGrid: number[][], r: number, g: number, b: num
src/components/ValueEditor.tsx:1074
↓ 3 callersFunctioncheckPatch
(blocks: BtpBlock[], binData: Uint8Array)
src/lib/btpParser.ts:171
↓ 3 callersFunctionclamp
(value: number, min: number, max: number)
src/components/ValueEditor.tsx:467
↓ 3 callersFunctiondrawBatch
(data: Float32Array, mode: number)
src/components/ValueEditor.tsx:1160
↓ 3 callersFunctionf
(n: number)
src/components/ValueEditor.tsx:788
↓ 3 callersFunctionfetchOriginalTable
* Try to fetch original (stock) map data from the tuning backend; returns null on any failure.
src/lib/wizards/stage1.ts:92
↓ 3 callersFunctionfindMatchingDefinition
( epk: string )
src/lib/definitionLoader.ts:24
↓ 3 callersFunctionfmt
(n: number)
src/components/MenuBar.tsx:805
↓ 3 callersFunctiongeneratePath
(values: number[], xVals: number[])
src/components/ValueEditor.tsx:452
↓ 3 callersFunctiongetCalFileOffset
(ecuFamily: string)
src/lib/btpParser.ts:44
↓ 3 callersMethodgetConversion
(compuMethodName: string)
src/lib/a2lParser.ts:257
↓ 3 callersFunctiongetCurrentLocalStorage
(key: string, defaultValue: T)
src/services/base.ts:4
↓ 3 callersFunctiongetMaxScrollPosition
()
src/lib/track.ts:37
↓ 3 callersFunctiongetPageHeight
()
src/lib/track.ts:30
↓ 3 callersFunctionhandleCellDoubleClick
(row: number, col: number)
src/components/ValueEditor.tsx:1672
↓ 3 callersFunctionhandleConfirm
()
src/components/ValueEditor.tsx:138
↓ 3 callersFunctionisHexFile
(filename: string)
src/lib/s19Parser.ts:242
↓ 3 callersFunctionisS19File
(filename: string)
src/lib/s19Parser.ts:125
↓ 3 callersFunctionlatToY
(lat: number)
src/components/GPSMap.tsx:15
↓ 3 callersFunctionlookupValue
( target: AxisLookupTarget, headers: string[], row: number[] | undefined, rowRecord: LogRow, )
src/lib/logMapping.ts:184
↓ 3 callersFunctionposBonus
(idx: number)
src/components/CategoryTree.tsx:21
↓ 3 callersMethodreadU8
()
src/lib/olsParser.ts:428
↓ 3 callersFunctionreadValue
(data: Uint8Array, address: number, dataType: DataType, calOffset: number = 0, bigEndian: boolean = false)
src/lib/binUtils.ts:369
↓ 3 callersMethodrequest
(path: string, queryParams: GenericObject = {}, init: RequestInit = {})
src/services/base.ts:47
↓ 3 callersFunctionresolveParamValues
( param: IDefinitionParameter, headers: string[], row: number[] | undefined, )
src/lib/logMapping.ts:221
↓ 3 callersFunctionuseLogContext
()
src/context/log.ts:22
↓ 3 callersFunctionwriteValue
(data: Uint8Array, address: number, dataType: DataType, value: number, calOffset: number = 0, bigEndian: boole
src/lib/binUtils.ts:416
↓ 2 callersFunctionappendParam
(key: string, val: any)
src/services/base.ts:20
↓ 2 callersFunctionbuildTree
(parameters: IDefinitionParameter[], pathPrefix = '')
src/components/CategoryTree.tsx:64
↓ 2 callersFunctioncalcAxis
(ranges: typeof fieldRanges)
src/components/LogViewer.tsx:254
↓ 2 callersFunctioncompileShader
(gl: WebGL2RenderingContext, type: number, src: string)
src/components/ValueEditor.tsx:768
↓ 2 callersFunctioncomputeCrc32
(data: Uint8Array, start: number = 0, end?: number)
src/lib/btpParser.ts:143
↓ 2 callersFunctiondryCurveCells
* Dry cells (same shape as rain, different levels): * idx 0 .. TEMP_IDX - 2 → flat at DRY_RAMP_TARGET (1.0) * idx TEMP_IDX - 1 → midpoi
src/lib/wizards/antiTramp.ts:64
↓ 2 callersMethodgenerateDefinition
(name?: string)
src/lib/xdfParser.ts:222
↓ 2 callersMethodgetCheckoutUrl
(product: string, ref: string, token: string)
src/services/tuning.ts:125
↓ 2 callersFunctiongetDataType
(sizeBits: number, typeFlags: number)
src/lib/xdfParser.ts:66
next →1–100 of 342, ranked by callers