MCPcopy Create free account

hub / github.com/Swaggermuffin64/VIM_GYM / functions

Functions307 in github.com/Swaggermuffin64/VIM_GYM

↓ 88 callersMethodpush
(entry: heapEntry)
backend/multiplayer/vimGraph.ts:116
↓ 27 callersMethodsend
(socket: WebSocket, message: ServerMessage)
matchmaking/src/matchmaker.ts:219
↓ 15 callersFunctiongetLineFromOffset
(offset: number, codeSnippet: codeSnippet)
backend/multiplayer/graphInfra.ts:5
↓ 13 callersFunctionresolveKeyOffset
(offset: number, key: string, codeSnippet: codeSnippet, savedRelativeX: number)
backend/multiplayer/graphInfra.ts:25
↓ 11 callersFunctionv
(val: number | null, unit = '')
matchmaking/scripts/full-game-test.ts:611
↓ 10 callersFunctionassert
(condition: boolean, name: string, error: string)
matchmaking/scripts/smoke-test.ts:47
↓ 9 callersFunctionformatKeyLabel
(key: string)
frontend/src/utils/keyFormatting.ts:4
↓ 9 callersFunctionnum
(v: unknown)
matchmaking/scripts/full-game-test.ts:81
↓ 9 callersFunctionsend
(socket: WebSocket, message: ServerMessage)
matchmaking/src/index.ts:311
↓ 8 callersFunctionformatKeysForDisplay
(keys: string[])
frontend/src/utils/keyFormatting.ts:32
↓ 8 callersFunctionlogUndoDebug
(message: string, data?: unknown)
frontend/src/extensions/readOnlyNavigation.ts:19
↓ 8 callersMethodsetLimit
* Configure rate limit for a specific event type
backend/rateLimit/socketRateLimiter.ts:58
↓ 7 callersFunctionbuildBlockedTransaction
( reason: EditBlockReason )
frontend/src/extensions/readOnlyNavigation.ts:188
↓ 6 callersFunctiongetPool
()
backend/db/pool.ts:7
↓ 6 callersFunctiongetShortestVimSequenceLazyMemoized
( codeSnippet: codeSnippet, startingOffset: number, targetOffset: number, startingPreferredX: number )
backend/multiplayer/vimGraph.ts:489
↓ 6 callersFunctiongetStatusColor
()
frontend/src/components/Lobby.tsx:360
↓ 6 callersFunctionpass
(name: string)
matchmaking/scripts/smoke-test.ts:37
↓ 6 callersFunctionrateLimitedHandler
( socket: SocketType, eventName: string, handler: (data: T) => void | Promise<void> )
backend/index.ts:763
↓ 5 callersFunctioncleanup
()
matchmaking/scripts/load-test.ts:56
↓ 5 callersFunctionclearAndCleanup
(error?: string)
matchmaking/scripts/full-game-test.ts:217
↓ 5 callersMethoddestroyRoom
(roomId: string, reason?: string)
backend/multiplayer/roomManager.ts:633
↓ 5 callersFunctionfail
(name: string, error: string)
matchmaking/scripts/smoke-test.ts:42
↓ 5 callersFunctionpgErrorDetails
(err: unknown)
backend/db/leaderboard.ts:6
↓ 5 callersMethodpop
()
backend/multiplayer/vimGraph.ts:121
↓ 5 callersFunctionsnapshotMetrics
()
matchmaking/scripts/full-game-test.ts:73
↓ 5 callersFunctionsnippetTwoLines
Minimal two-line snippet: ranges match `getNewlineOffsets` in scripts/generateSnippets.ts
backend/multiplayer/graphInfra.test.ts:8
↓ 5 callersFunctionvalidatePlayerName
(input: unknown)
backend/validation/inputValidation.ts:51
↓ 5 callersFunctionvalidateRoomId
(input: unknown)
backend/validation/inputValidation.ts:88
↓ 5 callersFunctionwaitForMessage
( ws: WebSocket, type: string, opts?: { rejectOnError?: boolean } )
matchmaking/scripts/smoke-test.ts:133
↓ 5 callersFunctionwithTimeout
(promise: Promise<T>, label: string)
matchmaking/scripts/smoke-test.ts:56
↓ 4 callersFunctionencodeStateKey
(state: vimCursorState)
backend/multiplayer/vimGraph.ts:187
↓ 4 callersFunctionerrorMessage
(err: unknown)
matchmaking/scripts/smoke-test.ts:52
↓ 4 callersFunctionformatTaskTypeLabel
(taskType: TaskType)
frontend/src/utils/keyFormatting.ts:19
↓ 4 callersFunctionformatTime
(ms: number)
frontend/src/pages/practice.tsx:1339
↓ 4 callersFunctiongetBestPlayerIds
( getter: (ranking: Ranking) => number | null, higherIsBetter: boolean )
frontend/src/components/RaceResults.tsx:220
↓ 4 callersFunctiongetOffsetColumn
(codeSnippet: codeSnippet, offset: number)
backend/multiplayer/vimGraph.ts:516
↓ 4 callersMethodgetPlayersArray
(room: GameRoom)
backend/multiplayer/roomManager.ts:773
↓ 4 callersFunctionuniqueValidOffsets
(offsets: number[], codeLength: number)
backend/multiplayer/vimGraph.ts:699
↓ 3 callersFunctionbuildOptimalInfo
(task: Task)
frontend/src/utils/keyFormatting.ts:80
↓ 3 callersFunctionbuildSingleAnchorDeletePlan
( codeSnippet: codeSnippet, startingOffset: number, startingPreferredX: number, anchorOffset: number,
backend/multiplayer/vimGraph.ts:570
↓ 3 callersMethodcancelRoomCleanup
(roomId: string)
backend/multiplayer/roomManager.ts:625
↓ 3 callersMethodcancelWaitingRoomTimeout
(roomId: string)
backend/multiplayer/roomManager.ts:67
↓ 3 callersFunctionconnectWs
()
matchmaking/scripts/smoke-test.ts:122
↓ 3 callersMethodcreateRoom
( socket: GameSocket, playerName: string, externalRoomId?: string, isPublic: boolean = false
backend/multiplayer/roomManager.ts:85
↓ 3 callersFunctionexpandRecommendedSequence
( recommendedSequence: string[] )
frontend/src/utils/keyFormatting.ts:26
↓ 3 callersFunctionexpandSequenceToKeystrokeCount
(sequence: string[])
backend/multiplayer/vimGraph.ts:523
↓ 3 callersFunctionfindWordIndex
(offset: number, codeSnippet: codeSnippet)
backend/multiplayer/graphInfra.ts:257
↓ 3 callersFunctionformatTime
(ms: number)
frontend/src/components/TaskReviewOverlay.tsx:17
↓ 3 callersFunctionformatTime
(ms: number)
frontend/src/pages/multiplayer.tsx:1072
↓ 3 callersFunctiongetSubtitle
()
frontend/src/components/Lobby.tsx:376
↓ 3 callersFunctiongetTitle
()
frontend/src/components/Lobby.tsx:370
↓ 3 callersFunctiongetValidInnerIndices
* Filter indices to only include pairs with non-empty inner content
backend/tasks.ts:160
↓ 3 callersFunctionisCountToken
(token: string)
backend/multiplayer/vimGraph.ts:9
↓ 3 callersFunctionisKeywordChar
(char: string)
backend/scripts/generateSnippets.ts:20
↓ 3 callersMethodjoinRoom
( socket: GameSocket, roomId: string, playerName: string )
backend/multiplayer/roomManager.ts:161
↓ 3 callersMethodleaveRoom
(socket: GameSocket)
backend/multiplayer/roomManager.ts:219
↓ 3 callersFunctionpickRandom
(array: T[], count: number)
backend/taskPool.ts:50
↓ 3 callersFunctionpickTasksFromCache
()
backend/taskPool.ts:75
↓ 3 callersFunctionprintStats
()
matchmaking/scripts/full-game-test.ts:507
↓ 3 callersFunctionremoveEmptyLines
* Remove empty lines from a code snippet
backend/tasks.ts:21
↓ 3 callersMethodremovePlayerBySocket
(socket: WebSocket)
matchmaking/src/matchmaker.ts:64
↓ 3 callersFunctionsetRelativeLineNumbers
(relative: boolean)
frontend/src/components/VimRaceEditor.tsx:185
↓ 3 callersFunctionshouldPreferCandidateOnTie
( candidateSequence: string[], currentSequence: string[] )
backend/multiplayer/vimGraph.ts:45
↓ 3 callersFunctionsolveCurrentTask
()
matchmaking/scripts/full-game-test.ts:465
↓ 3 callersMethodstop
()
matchmaking/src/matchmaker.ts:34
↓ 2 callersMethodallPlayersFinished
(room: GameRoom)
backend/multiplayer/roomManager.ts:515
↓ 2 callersFunctionbuildDeleteDecorations
* Build decorations for a delete range (just the highlight mark).
frontend/src/extensions/targetHighlight.ts:262
↓ 2 callersFunctionbuildKeySequence
( events: KeystrokeEvent[], maxVisible = 30 )
frontend/src/utils/keyFormatting.ts:67
↓ 2 callersFunctionbuildMergeLineMarkers
* Build markers for lines that come after newlines in the target range
frontend/src/extensions/targetHighlight.ts:130
↓ 2 callersFunctionbuildNewlineGlyphMarkers
* Build gutter markers for newlines that are the sole highlighted character * on their line. The marker is placed on the line the \n terminates.
frontend/src/extensions/targetHighlight.ts:206
↓ 2 callersFunctionbuildVisualDeletePlan
( codeSnippet: codeSnippet, startingOffset: number, startingPreferredX: number, firstAnchor: number,
backend/multiplayer/vimGraph.ts:610
↓ 2 callersFunctionbuildYankPastePlan
* Build a yank+paste plan: navigate to anchor → yank → navigate to paste → p. * `cursorAfterYank` is where the cursor ends up after the yank action.
backend/multiplayer/vimGraph.ts:886
↓ 2 callersFunctioncanDockCheatSheetForWidth
(viewportWidth: number)
frontend/src/pages/practice.tsx:65
↓ 2 callersMethodcheck
* Check if an event is allowed for a socket
backend/rateLimit/socketRateLimiter.ts:65
↓ 2 callersMethodcheck
* Check if a request is allowed * @returns true if allowed, false if rate limited
matchmaking/src/rateLimit.ts:37
↓ 2 callersFunctionclamp
(value: number, min: number, max: number)
frontend/src/pages/practice.tsx:61
↓ 2 callersFunctioncleanup
(error?: string)
matchmaking/scripts/full-game-test.ts:194
↓ 2 callersFunctioncleanupAndExit
(expectedGames: number)
matchmaking/scripts/full-game-test.ts:744
↓ 2 callersFunctioncreateLineNumbersExtension
(relative: boolean)
frontend/src/components/VimRaceEditor.tsx:91
↓ 2 callersFunctiond
( peak: number | null, base: number | null | undefined, unit = ' MB' )
matchmaking/scripts/full-game-test.ts:602
↓ 2 callersFunctiondecodeStateKey
(key: string)
backend/multiplayer/vimGraph.ts:191
↓ 2 callersMethodendRace
(roomId: string)
backend/multiplayer/roomManager.ts:519
↓ 2 callersFunctionfetchHealth
( url: string )
matchmaking/scripts/full-game-test.ts:57
↓ 2 callersFunctiongeneratePositionTaskAsync
()
backend/taskPool.ts:159
↓ 2 callersFunctiongeneratePositionTasksAsync
( count: number )
backend/taskPool.ts:165
↓ 2 callersFunctiongetBestCandidate
( candidates: deletePlanCandidate[] )
backend/multiplayer/vimGraph.ts:556
↓ 2 callersFunctiongetClientIp
* Extract client IP from request. * Prefers Fly-Client-IP (set by Fly.io edge, cannot be spoofed by clients), * then falls back to the rightmost X-F
matchmaking/src/index.ts:66
↓ 2 callersMethodgetConnectionCount
* Get current connection count for an IP.
backend/rateLimit/connectionLimiter.ts:87
↓ 2 callersFunctiongetLazyNeighbors
( state: vimCursorState, codeSnippet: codeSnippet )
backend/multiplayer/vimGraph.ts:207
↓ 2 callersFunctiongetMotionPreferenceScore
(sequence: string[])
backend/multiplayer/vimGraph.ts:23
↓ 2 callersFunctiongetOrCreateAudioContext
()
frontend/src/components/RaceCountdown.tsx:54
↓ 2 callersMethodgetRoom
(roomId: string)
backend/multiplayer/roomManager.ts:769
↓ 2 callersFunctiongetStatusText
()
frontend/src/components/Lobby.tsx:366
↓ 2 callersFunctionhasTargetedFindMotion
(sequence: string[])
backend/multiplayer/vimGraph.ts:32
↓ 2 callersFunctionisBlankChar
(char: string)
backend/scripts/generateSnippets.ts:24
↓ 2 callersMethodisEmpty
()
backend/multiplayer/vimGraph.ts:112
↓ 2 callersFunctionpositionToOffset
* Convert line/col position to character offset
backend/tasks.ts:31
↓ 2 callersFunctionprintStats
()
matchmaking/scripts/load-test.ts:148
↓ 2 callersFunctionqueryLeaderboardRanks
( durationMs: number )
backend/db/leaderboard.ts:26
↓ 2 callersFunctionrateLimitedVoidHandler
( socket: SocketType, eventName: string, handler: () => void | Promise<void> )
backend/index.ts:805
next →1–100 of 307, ranked by callers