Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/a9876543245/DEEPFOLD-SOLVER
/ functions
Functions
770 in github.com/a9876543245/DEEPFOLD-SOLVER
⨍
Functions
770
◇
Types & classes
152
↓ 3 callers
Function
getSpotsByMatchup
(matchupIdx: number)
src/lib/presolvedSpots.ts:550
↓ 3 callers
Function
getStreetActions
(street: 'flop' | 'turn' | 'river')
src/App.tsx:852
↓ 3 callers
Function
hsum256
--------------------------------------------------------------------------- hsum256 — copied from cpu_kernels_avx2.cpp so the micro-bench matches the
core/tests/bench_showdown_encoding.cpp:67
↓ 3 callers
Function
humanizeSeconds
(s: number)
src/components/SolveEtaBanner.tsx:25
↓ 3 callers
Method
index
Get a unique index in [0, 1325] for this combo Formula: index = c2*(c2-1)/2 + c1 (where c1 < c2)
core/include/card.h:104
↓ 3 callers
Function
join_floats
(v: &[f64])
src-tauri/src/engine.rs:268
↓ 3 callers
Function
make_test_config
core/tests/test_gpu_postsolve.cpp:63
↓ 3 callers
Method
name
core/include/cpu_backend.h:102
↓ 3 callers
Function
ops_per_solve_iteration
core/include/memory_budget.h:236
↓ 3 callers
Function
parseCard
Parse "2s" into {rank:0, suit:'s'}. Returns nulls if invalid.
src/lib/aggregateRunouts.ts:47
↓ 3 callers
Function
parseStackFromFormat
(st: string)
src/components/GameContextSelector.tsx:92
↓ 3 callers
Function
range_floats
Range-clamped payload for inputs feeding into reductions. No 1e6 spikes (which would invalidate dot-product comparisons due to FP non-associativity ra
core/tests/test_cpu_kernels.cpp:149
↓ 3 callers
Function
removeCard
(index: number)
src/components/BoardSelector.tsx:51
↓ 3 callers
Function
renderCard
(card: string, idx: number)
src/App.tsx:869
↓ 3 callers
Function
resolve_cpu_threads
* @brief All precomputed inputs a backend needs to run DCFR. * * All pointers are borrowed: the Solver orchestrator owns the underlying data * and
core/include/solver_backend.h:103
↓ 3 callers
Function
showdown_a2
core/tests/bench_showdown_encoding.cpp:145
↓ 3 callers
Function
showdown_active_singleton_precomputed
core/include/showdown_rank_blocker.h:311
↓ 3 callers
Function
showdown_baseline
--------------------------------------------------------------------------- Baseline kernel — bit-identical to the production showdown_oop_full body.
core/tests/bench_showdown_encoding.cpp:81
↓ 3 callers
Function
showdown_dense_singleton
core/include/showdown_rank_blocker.h:360
↓ 3 callers
Function
showdown_dense_singleton_precomputed
core/include/showdown_rank_blocker.h:269
↓ 3 callers
Function
showdown_oop_full_batch
core/include/cpu_simd.h:592
↓ 3 callers
Function
showdown_signed_zero_rake
--------------------------------------------------------------------------- Signed-valid zero-rake kernel. Exact only when tie payoff is zero and lose
core/tests/bench_showdown_encoding.cpp:213
↓ 3 callers
Function
streetActionSummary
(actions: string[])
src/App.tsx:896
↓ 3 callers
Function
vec_add_in_place
core/include/cpu_simd.h:334
↓ 3 callers
Function
vec_axpy
core/include/cpu_simd.h:337
↓ 3 callers
Function
vec_dcfr_discount
core/include/cpu_simd.h:343
↓ 3 callers
Function
vec_fmadd
core/include/cpu_simd.h:340
↓ 3 callers
Function
vec_pos_add
core/include/cpu_simd.h:346
↓ 3 callers
Function
vec_pos_normalize
core/include/cpu_simd.h:349
↓ 3 callers
Function
vec_reach_weighted_strat_sum
core/include/cpu_simd.h:369
↓ 3 callers
Function
vec_regret_update
core/include/cpu_simd.h:361
↓ 2 callers
Function
actionColor
(action: string)
src/components/GtoChartBrowser.tsx:101
↓ 2 callers
Function
active_lane_blocks_from_active
core/tests/test_cpu_kernels.cpp:991
↓ 2 callers
Function
aggregateTurns
( tree: Record<string, StrategyTreeEntry> | undefined, flopHistory: string, )
src/lib/aggregateRunouts.ts:90
↓ 2 callers
Function
aggressiveScore
Returns total frequency of "aggressive" actions (Bet_*, Raise*, All-in) * for ranking. Folds/Checks/Calls don't count. Used by `sortAggregates`.
src/lib/aggregateRunouts.ts:320
↓ 2 callers
Method
backend_name
Name of the active backend (for logging / UI indicator)
core/include/solver.h:388
↓ 2 callers
Function
budget_decision_str
core/include/memory_budget.h:362
↓ 2 callers
Function
buildPlan
* One spot to solve. Filename is the cache key; mirrors §6.4 "Phase 1 spot ID * scheme" of PRESOLVE_BUNDLE_PLAN.md.
scripts/bulk-presolve.mjs:150
↓ 2 callers
Function
build_prefixes
core/include/showdown_rank_blocker.h:134
↓ 2 callers
Function
build_solver_args
v1.2.2: build the CLI argv vector for `deepsolver_core` from a SolverRequest. Extracted from `try_run_solver` so the estimate-only path (`run_estimate
src-tauri/src/engine.rs:221
↓ 2 callers
Function
bytes_for_cpu_state
Bytes for the CPU CFR state. Counts regrets + strategy_sum + current_strategy (three arrays). action_values is a transient stack-allocated vector in C
core/include/memory_budget.h:157
↓ 2 callers
Function
bytes_for_gpu_state
Bytes for the GPU CFR state. Lives in VRAM. Includes: - regrets, strategy_sum, current_strategy, action_values: each N×A×nc floats - reach_scratch_oop
core/include/memory_budget.h:187
↓ 2 callers
Function
bytes_for_levelized_cpu_extra
v1.7.0: extra heap held by the levelized CPU backend on top of the reference state. LevelizedCpuBackend allocates three flat [N × nc] float buffers —
core/include/memory_budget.h:178
↓ 2 callers
Function
bytes_for_strategy_tree_ev_cache
Bytes for the strategy-tree EV cache. The current implementation stores `<node_id, vector<float>>` for every visited inner node × 2 perspectives (OOP-
core/include/memory_budget.h:198
↓ 2 callers
Function
chartHeroFor
Map our MATCHUPS positions to chart hero_position labels. They differ * for one role: our "MP" is the same seat as the dataset's "HJ" in * 6-hande
src/hooks/useGtoAutoRange.ts:35
↓ 2 callers
Function
chartToInRange
Combine all non-fold actions in a chart into a single in-range string. * Mirrors the helper in GtoChartBrowser but available standalone here.
src/hooks/useGtoAutoRange.ts:224
↓ 2 callers
Function
checkAccess
Check if the user has PRO solver access
src/lib/auth.ts:200
↓ 2 callers
Function
cleanup
()
src/lib/auth.ts:73
↓ 2 callers
Function
clearSession
()
src/lib/auth.ts:261
↓ 2 callers
Function
combo_value
core/include/fold_blocker.h:136
↓ 2 callers
Function
combo_value
core/include/showdown_rank_blocker.h:204
↓ 2 callers
Function
combo_value_no_tie
core/include/showdown_rank_blocker.h:239
↓ 2 callers
Method
compute_best_response_gpu
Per-combo best-response value at root for the given player (0 = OOP, 1 = IP). Empty on backends that don't support GPU postsolve.
core/include/solver_backend.h:257
↓ 2 callers
Function
contextualStrategy
(strength: number, idx: number)
src/lib/presolvedSpots.ts:119
↓ 2 callers
Function
countRangeCombos
(rangeStr: string)
src/lib/ranges.ts:240
↓ 2 callers
Function
createDrillSession
(count: number = 10)
src/lib/drill.ts:162
↓ 2 callers
Function
cuda_compute_capability
Returns CUDA compute capability of device 0 as `major*10 + minor` (e.g. 89 for Ada, 61 for Pascal, 120 for Blackwell). Returns 0 when no CUDA device i
core/src/backend_factory.cpp:93
↓ 2 callers
Function
cuda_gpu_reject_reason
Why was the CUDA backend skipped? Returns an empty string when the GPU IS usable (caller should not surface anything in that case). Otherwise returns
core/src/backend_factory.cpp:106
↓ 2 callers
Function
derivePotStack
( matchup: PositionMatchup, effectiveBB: number, )
src/lib/ranges.ts:59
↓ 2 callers
Function
derive_categories
core/tests/test_cpu_kernels.cpp:925
↓ 2 callers
Function
derive_signed_coeff
core/tests/test_cpu_kernels.cpp:935
↓ 2 callers
Function
derive_signed_count
core/tests/test_cpu_kernels.cpp:947
↓ 2 callers
Function
describe_cuda_gpu
core/src/backend_factory.cpp:75
↓ 2 callers
Function
detect_avx2_support
core/src/cpu_kernels_dispatch.cpp:70
↓ 2 callers
Function
dominantAction
( strategy: Record<string, string> | undefined, )
src/lib/aggregateRunouts.ts:134
↓ 2 callers
Function
dot_valid_reach_active
core/include/cpu_simd.h:393
↓ 2 callers
Function
estimate_solve_seconds
core/include/memory_budget.h:331
↓ 2 callers
Function
evaluate_budget
Decide whether the planned solve fits the budget. Order of severity (returned first wins): GPU > matchup > host total > strategy tree > JSON. We retu
core/include/memory_budget.h:379
↓ 2 callers
Function
extractArray
(srcPath, name)
scripts/patch-mono-failures.mjs:71
↓ 2 callers
Function
extractArray
* Pull a top-level `export const NAME ... = [ ... ];` block out of a TS file * and `eval` the array body as JS. Works because object/array literals a
scripts/bulk-presolve.mjs:115
↓ 2 callers
Method
finalize
core/include/cpu_backend.h:1075
↓ 2 callers
Function
findBestChart
Find the best chart in `scenarios` matching (folder, position, scenario, * effective_bb). Tries the scenario candidates in order; first folder+posit
src/hooks/useGtoAutoRange.ts:76
↓ 2 callers
Function
find_gto_root
Locate the bundled `gto_output/` directory. Search order — covers every layout we care about: 1. `<exe>/resources/gto_output/` Tauri 2 production wit
src-tauri/src/gto_charts.rs:84
↓ 2 callers
Function
fold_dense_precomputed
core/include/fold_blocker.h:158
↓ 2 callers
Function
fold_ip_step
core/include/cpu_simd.h:407
↓ 2 callers
Function
forcesAllIn
Mirrors backend should_force_allin: if committing this bet leaves SPR * below threshold after opponent calls, the backend collapses the sizing * i
src/lib/gameTree.ts:161
↓ 2 callers
Function
formatEv
Format an EV value for cell display. Signed; keep 1 decimal below 100 so * close mixes stay comparable (the old >=10 branch rounded 24.3 -> "24", *
src/components/RangeGrid.tsx:81
↓ 2 callers
Function
format_budget_failure
Build a human-readable diagnostic line. Shape matches the format the CLI's error JSON expects so the message can be embedded directly: "Matchup preco
core/include/memory_budget.h:409
↓ 2 callers
Function
generateComboStrategies
( board: string, heroRangeStr: string, )
src/lib/presolvedSpots.ts:160
↓ 2 callers
Function
getBetSizes
* Get bet sizes for the current street.
src/lib/gameTree.ts:127
↓ 2 callers
Function
getBundledOrDemo
( matchupIdx: number, boardIdx: number, sizingKey: string = 'standard', stackLabel: string = 'default'
src/lib/presolvedSpots.ts:454
↓ 2 callers
Function
getPresolvedSpot
( matchupIdx: number, boardIdx: number, )
src/lib/presolvedSpots.ts:483
↓ 2 callers
Function
getSuitColor
(suit: string)
src/components/DrillMode.tsx:41
↓ 2 callers
Function
heatmapColor
Generate heatmap color for a single action frequency
src/components/RangeGrid.tsx:133
↓ 2 callers
Function
isGpuOom
(msg: string)
src/hooks/useSolver.ts:299
↓ 2 callers
Function
isRealSolverAvailable
()
src/lib/presolvedSpots.ts:111
↓ 2 callers
Function
make_reach
core/tests/bench_showdown_encoding.cpp:281
↓ 2 callers
Function
make_table
core/tests/bench_showdown_encoding.cpp:250
↓ 2 callers
Function
mode_label
core/src/cpu_kernels_dispatch.cpp:140
↓ 2 callers
Function
parseBoardCards
Parse board string into individual card strings
src/components/TurnRiverCardSelector.tsx:24
↓ 2 callers
Function
parseRangeText
Parse simple range text: supports "AA,AKs,KK" and "AA:1.0,AKs:0.5"
src/components/RangeEditorModal.tsx:24
↓ 2 callers
Function
popcount13
Count how many bits are set in the lower 13 bits
core/src/hand_evaluator.cpp:58
↓ 2 callers
Function
populate_matchup_category_diagnostics
core/include/types.h:482
↓ 2 callers
Function
random_url_safe_b64
Base64url (no padding) of N random bytes. Length of output is ~ceil(4N/3).
src-tauri/src/oauth.rs:122
↓ 2 callers
Function
rangePercentage
(rangeStr: string)
src/lib/ranges.ts:253
↓ 2 callers
Function
renderPlaceholder
()
src/App.tsx:887
↓ 2 callers
Method
reset_for_iter
core/include/cpu_backend.h:68
↓ 2 callers
Function
run_solver
Run the solver engine with the given request, with automatic GPU→CPU fallback. Behavior: - If `request.backend` is "cpu" (or unset in a CPU-only cont
src-tauri/src/engine.rs:160
↓ 2 callers
Function
scenarioCandidates
For a (potType, side) combination, return scenario_type names ranked * by how well they fit. The first match found in the bundled charts wins. * M
src/hooks/useGtoAutoRange.ts:52
↓ 2 callers
Method
set_memory_policy
Phase 2 (10-point plan): callers can hand in the canonical-combo count and a memory budget so the runout-enumeration gate is byte-based instead of an
core/include/game_tree_builder.h:70
← previous
next →
101–200 of 770, ranked by callers