Skip to content
1 viewer

rust 1,961,941 · typescript 233,850 · javascript 141,145 · python 22,871 · 6,801 files · digest 6d882eacc8db · built in 12.5 s · crystals off

crates/cre8-app-chess/src/store.rs

cre8-app-chess · module store · src · 2,022 lines (1,854 code, 34 comment) · sha 48d1cbabe17c7ea7

Items

const BUCKET_PIECES const BUCKET_MOVES const BUCKET_PIECE_EVENTS const BUCKET_MATCHES const CAPTURE_REWARD_ASSET const WIN_REWARD_ASSET const PARTICIPATION_REWARD_ASSET const DDL const ABORT_UNSTARTED_TIMED_SECS const ABORT_UNSTARTED_UNTIMED_SECS const OPEN_SEAT_EXPIRES_SECS const SOLVER_GAME_ABANDONED_SECS const UNTIMED_GAME_ABANDONED_SECS struct ChessPieceCoreRow struct ChessPieceIdentityRow struct ChessPieceActorsRow struct ChessPieceBoardRow struct ChessPieceStateRow struct ChessPieceCountersRow struct ChessPieceTailRow struct ChessMoveCoreRow struct ChessMoveScopeRow struct ChessMoveActorsRow struct ChessMoveSquaresRow struct ChessMoveTailRow struct ChessPieceEventCoreRow struct ChessPieceEventTailRow struct ChessMatchCoreRow struct ChessMatchOutcomeRow struct ChessMatchGraphRow struct ChessMatchPayloadRow struct ChessMatchAuditRow

Functions

By call-graph weight (PageRank; 1.0 is the average function). 84 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
ensure_tablessrc/store.rs:232fn311515.9
ensure_tables_storagesrc/store.rs:236fn31115.5
list_pieces_by_sessionsrc/store.rs:363fn312114.2
list_pieces_by_session_storagesrc/store.rs:367fn344154.1
next_turnsrc/store.rs:517fn42503
get_match_by_sessionsrc/store.rs:825fn311722.7
initial_state_hashsrc/store.rs:477fn391822.7
project_match_clocksrc/store.rs:833fn377392.4
upsert_match_storagesrc/store.rs:731fn651142.4
upsert_matchsrc/store.rs:727fn311412.2
list_pieces_by_room_storagesrc/store.rs:406fn344152.1
get_piece_storagesrc/store.rs:339fn232142.1
row_piecesrc/store.rs:1567fn251332
list_pieces_by_roomsrc/store.rs:402fn31411.9
row_json_orsrc/store.rs:1558fn71411.9
get_piecesrc/store.rs:335fn31311.9
initial_piecesrc/store.rs:110fn361121.8
chess_state_payloadsrc/store.rs:441fn161431.7
upsert_piece_storagesrc/store.rs:244fn221151.7
get_match_by_session_storagesrc/store.rs:960fn364141.7
accrue_agent_rewardsrc/store.rs:1290fn661431.7
standard_initial_piecessrc/store.rs:35fn514711.6
sort_pieces_for_projectionsrc/store.rs:1515fn101201.5
list_moves_by_session_storagesrc/store.rs:585fn344141.5
record_piece_event_storagesrc/store.rs:684fn421131.5
upsert_piecesrc/store.rs:240fn31611.4
row_matchsrc/store.rs:1904fn281351.2
piece_asset_balancessrc/store.rs:1259fn111221.2
get_matchsrc/store.rs:797fn31221.2
list_moves_by_sessionsrc/store.rs:581fn31411.2
list_piece_events_storagesrc/store.rs:1196fn354141.2
record_piece_eventsrc/store.rs:680fn31211.1
piece_payloadsrc/store.rs:458fn181201.1
list_moves_for_piece_storagesrc/store.rs:624fn101121.1
row_piece_coresrc/store.rs:1603fn91111.1
row_piece_identitysrc/store.rs:1624fn131121.1
row_piece_statesrc/store.rs:1681fn131121.1
row_movesrc/store.rs:1728fn231231
asset_holderssrc/store.rs:1234fn241121
get_match_storagesrc/store.rs:801fn232141
list_moves_for_piece_truthsrc/store.rs:636fn122131
list_moves_for_piece_sqlsrc/store.rs:666fn131141
record_move_storagesrc/store.rs:526fn541131
row_piece_actorssrc/store.rs:1645fn61110.9
row_piece_boardsrc/store.rs:1661fn81110.9
row_piece_counterssrc/store.rs:1703fn71120.9
row_piece_tailsrc/store.rs:1719fn71120.9
piece_upsert_statementsrc/store.rs:289fn451200.9
agent_reward_balancessrc/store.rs:1271fn181310.9
row_move_scopesrc/store.rs:1786fn81110.8
row_move_actorssrc/store.rs:1802fn31110.8
row_piece_event_coresrc/store.rs:1873fn91110.8
row_piece_event_tailsrc/store.rs:1893fn91140.8
end_unplayedsrc/store.rs:925fn122200.8
match_pliessrc/store.rs:943fn31200.8
seated_peoplesrc/store.rs:948fn112250.8
row_move_coresrc/store.rs:1763fn131120.8
row_move_squaressrc/store.rs:1816fn91130.8
row_move_tailsrc/store.rs:1835fn81130.8
list_piece_eventssrc/store.rs:1192fn31210.8
append_piece_move_from_truth_rowsrc/store.rs:650fn143100.8
sort_moves_for_projectionsrc/store.rs:1527fn51100.8
anchor_match_completionsrc/store.rs:1037fn1542130.8
settle_capture_transfersrc/store.rs:1359fn762140.7
row_piece_eventsrc/store.rs:1845fn171120.7
list_moves_for_piecesrc/store.rs:620fn31210.7
list_recent_matches_storagesrc/store.rs:1002fn343140.7
project_idle_matchsrc/store.rs:890fn3413180.7
sanitize_graph_keysrc/store.rs:1496fn165100.7
with_chess_match_graph_mutsrc/store.rs:1534fn121130.7
match_slotssrc/store.rs:938fn31200.7
upsert_piecessrc/store.rs:268fn192250.7
row_match_coresrc/store.rs:1943fn91110.7
row_match_outcomesrc/store.rs:1963fn91120.7
row_match_graphsrc/store.rs:1980fn61120.7
row_match_payloadsrc/store.rs:1995fn71110.7
row_match_auditsrc/store.rs:2011fn71120.7
display_asset_idsrc/store.rs:2019fn42100.7
initialize_standard_setupsrc/store.rs:90fn193160.6
inventory_payloadsrc/store.rs:1436fn384130.6
list_recent_matchessrc/store.rs:998fn31120.6
record_movesrc/store.rs:522fn31110.6
board_payloadsrc/store.rs:1475fn204000.5
with_chess_match_graph_mutsrc/store.rs:1548fn81000.5

Source not readable from this process.