MCPcopy Create free account

hub / github.com/a9876543245/DEEPFOLD-SOLVER / functions

Functions770 in github.com/a9876543245/DEEPFOLD-SOLVER

↓ 72 callersFunctionassert_arrays_close
core/tests/test_cpu_kernels.cpp:83
↓ 51 callersMethodto_string
Convert to display string (e.g., "AhKh")
core/include/card.h:109
↓ 44 callersFunctionparse_card
Parse a two-character card string (e.g., "As") to Card value
core/include/card.h:32
↓ 41 callersFunctionescape_json
core/src/main.cpp:500
↓ 35 callersMethodreserve
core/include/types.h:161
↓ 31 callersFunctionhsum256
Horizontal sum of __m256, used by reductions.
core/src/cpu_kernels_avx2.cpp:35
↓ 30 callersMethodsolve
core/include/solver.h:525
↓ 29 callersFunctioncard_to_mask
Set a card in a bitmask
core/include/types.h:67
↓ 27 callersMethodanalyze_combo
core/include/solver.h:2740
↓ 27 callersFunctionmixed_floats
Mixed-magnitude payload that hits zero, negative, near-zero, and large. Use this for elementwise kernels (no reduction) where catastrophic cancellatio
core/tests/test_cpu_kernels.cpp:132
↓ 25 callersFunctionjson_bool
core/src/main.cpp:516
↓ 24 callersMethodinitialize
core/src/hand_evaluator.cpp:427
↓ 23 callersFunctioncard_suit
Extract suit from card
core/include/types.h:61
↓ 22 callersFunctioncard_prefix_sum
core/include/showdown_rank_blocker.h:192
↓ 20 callersFunctionfail
core/tests/test_cpu_kernels.cpp:66
↓ 20 callersFunctionparse_board
Parse a board string like "AsKd7c" into array of Cards
core/include/card.h:66
↓ 19 callersFunctionset_policy
core/src/cpu_kernels_dispatch.cpp:122
↓ 19 callersFunctionuseT
()
src/lib/i18n.tsx:461
↓ 18 callersFunctiongetActionColor
(label: string)
src/lib/poker.ts:48
↓ 18 callersFunctionvec_set_zero
core/include/cpu_simd.h:45
↓ 17 callersFunctioncard_rank
Extract rank from card
core/include/types.h:58
↓ 17 callersFunctionisTauri
()
src/lib/tauriEnv.ts:13
↓ 16 callersFunctionstrategy_map
Build a label→pct map from a solver result so two configs can be compared even if action ordering shifts.
core/tests/test_parity.cpp:109
↓ 13 callersFunctionassert_close
core/tests/test_cpu_kernels.cpp:68
↓ 12 callersFunctionassert_near
core/tests/test_parity.cpp:76
↓ 11 callersFunctionassert_true
core/tests/test_solver.cpp:48
↓ 11 callersFunctionmake_card
Inline card construction
core/include/types.h:55
↓ 10 callersFunctionvec_copy
core/include/cpu_simd.h:49
↓ 9 callersFunctionhand_category_name
Get hand category string from rank
core/include/hand_evaluator.h:45
↓ 9 callersFunctionparseBoardCards
(board: string)
src/lib/poker.ts:506
↓ 9 callersFunctionsolve
(app: AppHandle, request: SolverRequest)
src-tauri/src/commands.rs:16
↓ 8 callersFunctionassert_strategy_close
Compare two global_strategy maps. Every action present in either side must match within `tol` percentage points, and the action sets must agree.
core/tests/test_parity.cpp:119
↓ 8 callersFunctionboard_to_mask
Build dead card mask from board
core/include/card.h:151
↓ 8 callersMethodbuild
core/include/game_tree_builder.h:553
↓ 8 callersMethodevaluate5
core/src/hand_evaluator.cpp:437
↓ 8 callersFunctionparseRange
(rangeStr: string)
src/lib/ranges.ts:23
↓ 8 callersFunctionpostsolve_parallel_for
core/include/solver.h:141
↓ 8 callersFunctionvec_mul_in_place
core/include/cpu_simd.h:325
↓ 7 callersFunctionbuildSpotId
(matchupIdx: number, boardIdx: number)
src/lib/presolvedSpots.ts:253
↓ 7 callersFunctionshutdown_server
(shared: &Arc<Mutex<SharedState>>)
src-tauri/src/oauth.rs:302
↓ 7 callersFunctionvalid_mask
Sparse valid mask: ~70% ones, 30% zeros (matches the typical density of the matchup_valid table after dead-card filtering).
core/tests/test_cpu_kernels.cpp:158
↓ 6 callersFunctionassert_active_nozero_output
core/tests/test_cpu_kernels.cpp:1025
↓ 6 callersFunctionassert_true
core/tests/test_gpu_postsolve.cpp:51
↓ 6 callersFunctionbuildTemplate
(combos: string[], weight = 1.0)
src/lib/poker.ts:362
↓ 6 callersFunctioncombo_to_grid_label
Returns the grid label for a combo (e.g., "AA", "AKs", "AKo")
core/include/card.h:164
↓ 6 callersFunctionerror_page
(msg: &str)
src-tauri/src/oauth.rs:378
↓ 6 callersFunctionev_row
EV row for showdown: roughly equal split of {-1, 0, 1} when valid, 0 elsewhere. The category threshold is >0.5 / <-0.5, so this must include true win/
core/tests/test_cpu_kernels.cpp:168
↓ 6 callersFunctionhas_cuda_gpu
core/src/backend_factory.cpp:63
↓ 6 callersFunctionmake_flop_config
core/tests/test_solver.cpp:64
↓ 6 callersFunctionmake_parity_config
core/tests/test_parity.cpp:89
↓ 6 callersFunctionrun_calls
core/tests/bench_showdown_encoding.cpp:298
↓ 6 callersFunctionrun_inplace
core/tests/test_cpu_kernels.cpp:189
↓ 6 callersFunctionvec_scale_in_place
core/include/cpu_simd.h:331
↓ 5 callersFunctionactionColor
(label: string)
src/lib/aggregateRunouts.ts:154
↓ 5 callersFunctionbuildHeuristicSpot
( matchupIdx: number, boardIdx: number, )
src/lib/presolvedSpots.ts:257
↓ 5 callersMethodconflicts_with
Check if this combo conflicts with a card mask (dead cards)
core/include/card.h:114
↓ 5 callersMethodevaluate
core/src/hand_evaluator.cpp:476
↓ 5 callersFunctionexpandComboLabel
(label: string, boardCards: string[])
src/lib/poker.ts:444
↓ 5 callersFunctionfold_dense
core/include/fold_blocker.h:216
↓ 5 callersMethodmark
core/include/cpu_backend.h:89
↓ 5 callersFunctionmatchup_bytes_per_cell
core/include/solver.h:227
↓ 5 callersMethodreserve
core/include/cpu_backend.h:70
↓ 5 callersMethodrewind
core/include/cpu_backend.h:90
↓ 5 callersFunctionrun_case
core/tests/bench_showdown_batch.cpp:92
↓ 5 callersFunctionsupports_singleton_iso
core/include/showdown_rank_blocker.h:72
↓ 4 callersFunctionactive_from_skip
core/tests/test_cpu_kernels.cpp:959
↓ 4 callersFunctionactive_mode
core/src/cpu_kernels_dispatch.cpp:136
↓ 4 callersFunctionactive_runs_from_active
core/tests/test_cpu_kernels.cpp:968
↓ 4 callersMethodalloc
core/include/cpu_backend.h:74
↓ 4 callersFunctionapply_range_string
Parse TexasSolver range string, e.g. "AA:1.0,AKs:0.5,A4o:1.0" Returns a map of grid_label -> weight
core/src/main.cpp:364
↓ 4 callersFunctionbuild_metadata
core/include/fold_blocker.h:42
↓ 4 callersFunctionbytes_for_matchup_tables
Bytes required to hold all per-runout matchup tables. runout_tables × nc² × 2 (EV+valid) × sizeof(float) `runout_tables` is the number of distinct b
core/include/memory_budget.h:144
↓ 4 callersFunctioncard_to_string
Convert Card to two-character string (e.g., Card(50) -> "As")
core/include/card.h:57
↓ 4 callersFunctioncat_byte
v1.8.2 A2: helper to compute the pre-thresholded category byte from an (ev, valid) pair, mirroring precompute_matchups()'s bucketing rules: valid == 0
core/tests/test_cpu_kernels.cpp:919
↓ 4 callersFunctioncompute_dcfr_factors
============================================================================ DCFR discount-factor computation (shared by CPU + GPU backends) =========
core/include/solver_backend.h:46
↓ 4 callersFunctioncompute_isomorphism
* @brief Compute the canonical suit mapping for a given board. * * Algorithm: * 1. Analyze the board's suit pattern. * 2. For each starting co
core/include/isomorphism.h:61
↓ 4 callersFunctioncreateRootNode
( pot: number, effectiveStack: number, street: Street = 'flop', sizingKey: string = 'standard', )
src/lib/gameTree.ts:260
↓ 4 callersFunctiondot_valid_reach
core/include/cpu_simd.h:388
↓ 4 callersFunctionfold_active
core/include/fold_blocker.h:284
↓ 4 callersFunctionfold_ip_step_active
core/include/cpu_simd.h:413
↓ 4 callersFunctionfold_ip_step_active_runs
core/include/cpu_simd.h:420
↓ 4 callersFunctiongetHandStrength
(label: string, boardRanks: string[])
src/lib/poker.ts:518
↓ 4 callersFunctionlog_to_file
(msg: &str)
src-tauri/src/engine.rs:75
↓ 4 callersFunctionrun_one_paired
core/src/main.cpp:1219
↓ 4 callersFunctionrun_scenario
--------------------------------------------------------------------------- Scenario runner. Two regimes: hot — 1 table, K calls. Same data reused →
core/tests/bench_showdown_encoding.cpp:459
↓ 4 callersFunctiontoBB
Format internal chip amount as BB for display. 1 BB = 10 chips (same * convention as MATCHUPS / derivePotStack). Trims trailing .0 so whole * valu
src/components/ActionBar.tsx:15
↓ 3 callersFunctionapply_uniform_grid_labels
core/tests/test_parity.cpp:405
↓ 3 callersFunctionbytes_for_json_response
Rough JSON response size estimator. Strategy tree dominates: each emitted node carries ~5 lists × 169 grid labels × ~30 bytes/entry.
core/include/memory_budget.h:206
↓ 3 callersFunctioncontextualStrategy
( strength: number, _idx: number, facingAction: 'none' | 'bet' | 'raise', )
src/hooks/useSolver.ts:31
↓ 3 callersFunctioncpuid_call
core/src/cpu_kernels_dispatch.cpp:39
↓ 3 callersFunctioncpuid_supports_avx2_fma_os
core/src/cpu_kernels_dispatch.cpp:144
↓ 3 callersFunctiondot_valid_reach_active_runs
core/include/cpu_simd.h:400
↓ 3 callersFunctioneffective_postsolve_threads
core/include/solver.h:64
↓ 3 callersMethodensure
core/include/showdown_rank_blocker.h:47
↓ 3 callersFunctionfind_engine_binary
Find the path to the deepsolver_core binary. In development, looks for it in the core/build/Release directory. In production, looks for the sidecar bi
src-tauri/src/engine.rs:93
↓ 3 callersFunctionfind_straight
Check if rank_bits form a straight, return straight "height" (0-9) or -1
core/src/hand_evaluator.cpp:48
↓ 3 callersFunctionfold_active_precomputed
core/include/fold_blocker.h:184
↓ 3 callersFunctionfolderOf
(id: string)
src/components/GameContextSelector.tsx:52
↓ 3 callersFunctionformatEncodesStack
(st: string)
src/components/GameContextSelector.tsx:96
↓ 3 callersFunctiongetAvailableActions
( pot: number, stack: number, street: Street, facingBet: number, sizing: BetSizing = BET_SIZINGS.sta
src/lib/gameTree.ts:169
next →1–100 of 770, ranked by callers