SYMBOL INDEX (122 symbols across 29 files) FILE: files/misc/scraps.js function NewPGNFileLoader (line 3) | function NewPGNFileLoader(filename, callback) { function NewPGNPreParser (line 60) | function NewPGNPreParser(buf, callback) { // Cannot fail unless aborted. function NewLineSplitter (line 184) | function NewLineSplitter(buf, callback) { function split_buffer_alternative (line 266) | function split_buffer_alternative(buf) { FILE: files/src/main.js function startup (line 79) | function startup() { function menu_build (line 335) | function menu_build() { function language_choices_submenu (line 4734) | function language_choices_submenu() { function get_submenu_items (line 4756) | function get_submenu_items(menupath) { function set_checks (line 4778) | function set_checks(...menupath) { function set_one_check (line 4797) | function set_one_check(state, ...menupath) { FILE: files/src/modules/background.js function background (line 3) | function background(light, dark, square_size) { FILE: files/src/modules/config_io.js function Config (line 18) | function Config() {} // This exists solely to make instanceof work. function fix (line 158) | function fix(cfg) { FILE: files/src/modules/debork_json.js function replace_all (line 3) | function replace_all(s, search, replace) { function debork_json (line 10) | function debork_json(s) { FILE: files/src/modules/engineconfig_io.js function EngineConfig (line 18) | function EngineConfig() {} // This exists solely to make instanceof work. function fix (line 23) | function fix(cfg) { FILE: files/src/modules/translations.js function checker (line 3714) | function checker() { FILE: files/src/renderer/20_utils.js function XY (line 7) | function XY(s) { // e.g. "b7" --> [1, 1] function S (line 20) | function S(x, y) { // e.g. (1, 1) --> "b7" function InfoVal (line 29) | function InfoVal(s, key) { function InfoValMany (line 54) | function InfoValMany(s, keys) { function InfoPV (line 83) | function InfoPV(s) { function C960_PV_Converter (line 127) | function C960_PV_Converter(pv, board) { function InfoWDL (line 168) | function InfoWDL(s) { function CompareArrays (line 200) | function CompareArrays(a, b) { function ArrayStartsWith (line 219) | function ArrayStartsWith(a, b) { // where b is itself an array function OppositeColour (line 238) | function OppositeColour(s) { function ReplaceAll (line 244) | function ReplaceAll(s, search, replace) { function SafeStringHTML (line 249) | function SafeStringHTML(s) { function UnsafeStringHTML (line 261) | function UnsafeStringHTML(s) { function SafeStringPGN (line 273) | function SafeStringPGN(s) { function UnsafeStringPGN (line 282) | function UnsafeStringPGN(s) { function Log (line 291) | function Log(s) { function LogBoth (line 342) | function LogBoth(s) { function UniqueFilepath (line 347) | function UniqueFilepath(filepath) { function New2DArray (line 384) | function New2DArray(width, height, defval) { function CanvasCoords (line 398) | function CanvasCoords(x, y) { function EventPathString (line 427) | function EventPathString(event, prefix) { function EventPathN (line 451) | function EventPathN(event, prefix) { function SwapElements (line 470) | function SwapElements(obj1, obj2) { function NString (line 481) | function NString(n) { function DateString (line 518) | function DateString(dt) { function QfromPawns (line 530) | function QfromPawns(pawns) { function QfromWDL (line 547) | function QfromWDL(wdl) { function Value (line 562) | function Value(q) { // Rescale Q to 0..1 range. function SmoothStep (line 575) | function SmoothStep(x) { function Sign (line 581) | function Sign(n) { function CommaNum (line 587) | function CommaNum(n) { function DurationString (line 611) | function DurationString(ms) { function NumbersBetween (line 632) | function NumbersBetween(a, b) { function RandInt (line 649) | function RandInt(min, max) { function RandChoice (line 664) | function RandChoice(arr) { function HighlightString (line 671) | function HighlightString(s, prefix, classname) { function StringIsNumeric (line 682) | function StringIsNumeric(s) { function FileExceedsGigabyte (line 692) | function FileExceedsGigabyte(filename, multiplier = 1) { FILE: files/src/renderer/30_point.js function Point (line 3) | function Point(a, b) { function PointsBetween (line 38) | function PointsBetween(a, b) { FILE: files/src/renderer/31_sliders.js function generate_movegen_sliders (line 6) | function generate_movegen_sliders() { FILE: files/src/renderer/40_position.js function NewPosition (line 1401) | function NewPosition(state = null, active = "w", castling = "", enpassan... FILE: files/src/renderer/41_fen.js function LoadFEN (line 3) | function LoadFEN(fen) { function CastlingRights (line 119) | function CastlingRights(board, s) { // s is the castling string fro... function EnPassantSquare (line 210) | function EnPassantSquare(board, s) { // board.active must be correct. s ... function IsNormalChessPosition (line 262) | function IsNormalChessPosition(board) { FILE: files/src/renderer/42_perft.js function perft (line 22) | function perft(pos, depth, print_moves) { function perft_print_move (line 39) | function perft_print_move(pos, mv, val) { function Perft (line 54) | function Perft(fen, depth) { function PerftFileTest (line 70) | function PerftFileTest(filename, depth, verbose = false) { FILE: files/src/renderer/43_chess960.js function c960_arrangement (line 3) | function c960_arrangement(n) { function c960_fen (line 55) | function c960_fen(n) { FILE: files/src/renderer/50_table.js function NewTable (line 5) | function NewTable() { function NewInfo (line 89) | function NewInfo(board, move) { FILE: files/src/renderer/51_node.js function NewNode (line 3) | function NewNode(parent, move, board_for_root) { // move must be legal;... function NewRoot (line 37) | function NewRoot(board) { // Arg is a board (position) object, not a... function DestroyTree (line 471) | function DestroyTree(node) { function __destroy_tree (line 479) | function __destroy_tree(node) { function CleanTree (line 522) | function CleanTree(node) { function __clean_tree (line 529) | function __clean_tree(node) { function AddTreeToBook (line 552) | function AddTreeToBook(node, book) { function __add_tree_to_book (line 567) | function __add_tree_to_book(node, book) { FILE: files/src/renderer/52_sorted_moves.js function SortedMoveInfo (line 3) | function SortedMoveInfo(node) { function SortedMoveInfoFromTable (line 12) | function SortedMoveInfoFromTable(table) { FILE: files/src/renderer/55_winrate_graph.js function NewGrapher (line 3) | function NewGrapher() { FILE: files/src/renderer/60_pgn_utils.js function split_buffer (line 3) | function split_buffer(buf) { function new_byte_pusher (line 41) | function new_byte_pusher(size) { function new_pgndata (line 80) | function new_pgndata(buf, indices) { // Made by the PGN file loader. Us... function SavePGN (line 108) | function SavePGN(filename, node) { function PGNToClipboard (line 117) | function PGNToClipboard(node) { function make_pgn_string (line 124) | function make_pgn_string(node) { function make_movetext (line 170) | function make_movetext(node) { function get_ordered_nodes (line 231) | function get_ordered_nodes(node) { function __order_nodes (line 237) | function __order_nodes(node, list, skip_self_flag) { FILE: files/src/renderer/61_pgn_parse.js function new_pgn_record (line 3) | function new_pgn_record() { function PreParsePGN (line 10) | function PreParsePGN(buf) { // buf should be the buffer for a sin... function LoadPGNRecord (line 71) | function LoadPGNRecord(o) { // This can throw! FILE: files/src/renderer/63_polyglot.js function KeyFromBoard (line 237) | function KeyFromBoard(board) { function ParsePolyglotBlob (line 279) | function ParsePolyglotBlob(buf, off) { // Args are Buffer + offset. function SortAndDeclutterPGNBook (line 306) | function SortAndDeclutterPGNBook(book) { function BookAtLogicalIndex (line 357) | function BookAtLogicalIndex(book, i) { function BookLogicalLength (line 365) | function BookLogicalLength(book) { function BookProbe (line 375) | function BookProbe(key, book) { function BookSortedTest (line 452) | function BookSortedTest(book) { // Returns true if a cursory inspection... function HubProbe (line 488) | function HubProbe() { function BigIntToHex (line 502) | function BigIntToHex(big) { function BookStressTest (line 508) | function BookStressTest() { FILE: files/src/renderer/65_loaders.js function NewFastPGNLoader (line 12) | function NewFastPGNLoader(foo, callback) { function NewPolyglotBookLoader (line 117) | function NewPolyglotBookLoader(filename, callback) { function NewPGNBookLoader (line 153) | function NewPGNBookLoader(filename, callback) { FILE: files/src/renderer/71_tree_handler.js function NewTreeHandler (line 7) | function NewTreeHandler() { FILE: files/src/renderer/75_looker.js function NewLooker (line 14) | function NewLooker() { method query_api (line 131) | query_api(query) { // Returns a promise, which is solely used by the ca... function new_chessdbcn_move (line 229) | function new_chessdbcn_move(board, raw_item) { // The object with info... function new_lichess_move (line 259) | function new_lichess_move(board, raw_item, position_total) { // The obj... FILE: files/src/renderer/80_info.js function NewInfoHandler (line 3) | function NewInfoHandler() { FILE: files/src/renderer/83_statusbox.js function NewStatusHandler (line 3) | function NewStatusHandler() { FILE: files/src/renderer/90_engine.js constant GUI_WANTS_TO_KNOW (line 42) | const GUI_WANTS_TO_KNOW = ["Backend", "EvalFile", "WeightsFile", "Syzygy... function SearchParams (line 52) | function SearchParams(node = null, limit = null, limit_by_time = false, ... function NewEngine (line 74) | function NewEngine(hub) { FILE: files/src/renderer/95_hub.js function NewHub (line 3) | function NewHub() { FILE: files/src/renderer/99_start.js function input_loop (line 137) | function input_loop() { function force_gc (line 274) | function force_gc() { function enter_loop (line 287) | function enter_loop() {