Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OI-wiki/OI-wiki
/ functions
Functions
345 in github.com/OI-wiki/OI-wiki
⨍
Functions
345
◇
Types & classes
39
↳
Endpoints
7
↓ 1 callers
Function
unequalSignIllegal
(file: string, line: number | undefined, column: number | undefined)
scripts/checker/checker.ts:392
↓ 1 callers
Method
unite
(self, x, y)
docs/ds/code/dsu/dsu_0.py:11
↓ 1 callers
Method
unite
(self, x: int, y: int, d: int)
docs/ds/code/dsu/dsu_3.py:18
↓ 1 callers
Method
unite
(self, x: int, y: int, d: int)
docs/ds/code/dsu/dsu_6.py:18
↓ 1 callers
Method
unite
(self, x, y)
docs/ds/code/dsu/dsu_1.py:8
↓ 1 callers
Method
unite
(self, x: int, y: int, d: int)
docs/ds/code/dsu/dsu_5.py:18
↓ 1 callers
Method
unite
(self, x, y)
docs/ds/code/dsu/dsu_4.py:15
↓ 1 callers
Function
unsetBit
(a, b)
docs/math/code/bit/bit_2.py:50
↓ 1 callers
Function
update_commit_hash
()
scripts/update-feedback-sys-meta.py:15
↓ 1 callers
Function
useChoose
(file: string, line: number | undefined, column: number | undefined)
scripts/checker/checker.ts:396
↓ 1 callers
Function
useSplitAndEqnarray
(file: string, line: number | undefined, column: number | undefined)
scripts/checker/checker.ts:386
↓ 1 callers
Function
wordUsageIllegal
(file: string, line: number | undefined, column: number | undefined)
scripts/checker/checker.ts:400
Method
Edge
(int u, int v, int w)
docs/graph/code/mst/mst_3.java:9
Function
Merge
(x, y)
docs/graph/code/mst/mst_3.py:24
Method
__enter__
(self)
scripts/linter/utils.py:67
Method
__exit__
(self, exc_type, exc, tb)
scripts/linter/utils.py:72
Method
__init__
(self, title, enable_only_debug=True)
scripts/linter/utils.py:63
Method
__init__
(self, arr: list, func=min)
docs/ds/code/sparse-table/sparse-table_1.py:7
Method
__init__
(self, size)
docs/ds/code/dsu/dsu_0.py:2
Method
__init__
(self, size: int)
docs/ds/code/dsu/dsu_3.py:5
Method
__init__
(self, size: int)
docs/ds/code/dsu/dsu_6.py:5
Method
__init__
(self, size)
docs/ds/code/dsu/dsu_1.py:2
Method
__init__
(self, size)
docs/ds/code/dsu/dsu_2.py:2
Method
__init__
(self, size: int)
docs/ds/code/dsu/dsu_5.py:5
Method
__init__
(self, size, m)
docs/ds/code/dsu/dsu_4.py:3
Method
__init__
(self, u, v, w)
docs/graph/code/mst/mst_3.py:2
Method
__str__
(self)
scripts/ub-check.py:25
Method
cmp
(Edge A, Edge B)
docs/graph/code/mst/mst_3.java:41
Method
dummy
(content, **kwargs)
test/linter/test_decorators.py:14
Method
globalInitialize
()
scripts/post-build/commits-info/task-handler.ts:67
Method
globalInitialize
(siteDir: string)
scripts/post-build/math/task-handler.ts:91
Method
initialize
(userMap: AuthorUserMap)
scripts/post-build/commits-info/task-handler.ts:82
Method
initialize
(_: void, siteDir: string)
scripts/post-build/math/task-handler.ts:123
Function
inner
(md_content: str, **kwargs)
scripts/linter/decorators.py:28
Method
insertionSort
(int[] arr)
docs/basic/code/insertion-sort/insertion-sort_1.java:1
Method
main
(String[] args)
docs/basic/code/simulate/simulate_1.java:4
Method
modifier
(content, **kwargs)
test/linter/test_decorators.py:121
Function
nav_math
(s)
hooks/on_env.py:7
Function
onMessage
(message: MessageToWait)
scripts/post-build/html-postprocess.ts:108
Function
on_env
(env, config, files, **kwargs)
hooks/on_env.py:11
Function
pipeline
Decorator that wraps functions to handle file operations. This decorator: - Opens and reads the file - Applies the processing functi
scripts/linter/decorators.py:128
Method
process
(document: HTMLElement)
scripts/post-build/commits-info/task-handler.ts:86
Method
process
(document: HTMLElement, filePath: string)
scripts/post-build/math/task-handler.ts:130
Method
process
(document: HTMLElement)
scripts/post-build/external-links/task-handler.ts:8
Method
setUp
Set up test fixtures.
test/test_linter_patch.py:13
Method
setUp
Set up test fixtures.
test/linter/test_decorators.py:11
Function
step
Decorator that processes Markdown content while handling skip blocks. Skip blocks allow certain sections to be excluded from processing usin
scripts/linter/decorators.py:7
Method
tearDown
Clean up test fixtures.
test/test_linter_patch.py:18
Method
test_adjacent_different_skip_blocks
Test adjacent skip blocks of different types.
test/linter/test_skipblocks.py:258
Method
test_all_three_skip_block_types
Test preprocess and postprocess skip blocks together.
test/linter/test_skipblocks.py:143
Method
test_apostrophe_after_digit
A single quote following a digit (category 'Nd') should be treated as an apostrophe.
test/linter/test_postprocess.py:307
Method
test_apostrophe_after_letter_number_Nl
A letter number (category 'Nl') before a single quote should be an apostrophe.
test/linter/test_postprocess.py:337
Method
test_apostrophe_after_letter_number_No
A numeric character of other type (category 'No') before a single quote should be quote.
test/linter/test_postprocess.py:349
Method
test_apostrophe_after_modifier_letter_Lm
A modifier letter (category 'Lm') before a single quote should be an apostrophe.
test/linter/test_postprocess.py:343
Method
test_apostrophe_after_non_ascii_letter
A single quote following a non-ASCII letter with category 'Ll' should be treated as an apostrophe.
test/linter/test_postprocess.py:319
Method
test_apostrophe_after_titlecase_Lt
A titlecase letter (category 'Lt') before a single quote should be an apostrophe.
test/linter/test_postprocess.py:331
Method
test_apostrophe_after_uppercase_Lu
An uppercase letter (category 'Lu') before a single quote should be an apostrophe.
test/linter/test_postprocess.py:313
Method
test_apostrophe_when_only_spaces_to_right_triggers_except
If only spaces follow the quote, index_lfirst_neq raises StopIteration and it is treated as apostrophe.
test/linter/test_postprocess.py:301
Method
test_asymmetric_quotes
Test handling of asymmetric quote usage.
test/linter/test_postprocess.py:265
Method
test_cjk_prev_char_not_apostrophe
A single quote following a CJK character (category 'Lo') should NOT be an apostrophe.
test/linter/test_postprocess.py:325
Method
test_complex_real_world_markdown
Test complex real-world scenario with multiple skip block types.
test/linter/test_skipblocks.py:293
Method
test_complex_real_world_scenario
Test complex real-world indentation scenario.
test/linter/test_preprocess.py:106
Method
test_content_gets_trailing_newline
Test that content without trailing newline gets one added.
test/linter/test_decorators.py:22
Method
test_content_modification_preserved
Test that content modifications are preserved.
test/linter/test_decorators.py:118
Method
test_crossed_nested_mixed_quotes
(self)
test/linter/test_postprocess.py:453
Method
test_curly_apostrophe_between_ascii_unchanged
Curly apostrophe (’ U+2019) between ASCII letters should be left unchanged.
test/linter/test_postprocess.py:277
Method
test_deeply_nested_mixed_quotes
Test deep nesting of mixed double/single quotes.
test/linter/test_postprocess.py:447
Method
test_deeply_nested_multiple_types_skip_blocks
Test deep nesting of multiple different skip block types.
test/linter/test_skipblocks.py:470
Method
test_empty_content
Test empty content handling.
test/linter/test_postprocess.py:26
Method
test_empty_content
Test empty content handling.
test/linter/test_postprocess.py:151
Method
test_empty_content
Test with empty content.
test/linter/test_decorators.py:18
Method
test_empty_content
Test with empty content.
test/linter/test_preprocess.py:10
Method
test_empty_file_handling
Test processing with empty file.
test/test_linter_patch.py:70
Method
test_empty_lines_only
Test content with only empty lines.
test/linter/test_preprocess.py:144
Method
test_empty_skip_blocks_different_types
Test empty skip blocks of different types.
test/linter/test_skipblocks.py:396
Method
test_extra_left_double_treated_as_right
Two consecutive left double quotes: second is treated as a right quote.
test/linter/test_postprocess.py:458
Method
test_extra_left_single_treated_as_right
Two consecutive left single quotes: second is treated as a right quote.
test/linter/test_postprocess.py:464
Method
test_extra_right_double_treated_as_left
Two consecutive right double quotes: second is treated as left quote.
test/linter/test_postprocess.py:470
Method
test_extra_right_single_treated_as_left
Two consecutive right single quotes: second is treated as left quote.
test/linter/test_postprocess.py:476
Method
test_file_not_found_raises_error
Test error handling for non-existent file.
test/test_linter_patch.py:63
Method
test_file_unchanged_when_no_fixes_needed
Test that file content remains unchanged when no fixes needed.
test/test_linter_patch.py:54
Method
test_finds_first_different_element
Test finding the first element not equal to value.
test/linter/test_utils.py:14
Method
test_grouping_does_not_suppress_exceptions
Exceptions inside the context should propagate (exit returns False).
test/linter/test_utils.py:122
Method
test_grouping_force_enabled
When enable_only_debug=False, group commands are always printed.
test/linter/test_utils.py:113
Method
test_grouping_with_runner_debug
When RUNNER_DEBUG is set, group and endgroup should be printed.
test/linter/test_utils.py:94
Method
test_grouping_without_runner_debug_disabled
When RUNNER_DEBUG is not set and enable_only_debug=True, nothing prints.
test/linter/test_utils.py:104
Method
test_indentation_scenarios
Test various indentation scenarios.
test/linter/test_preprocess.py:18
Method
test_interleaved_skip_blocks
Test skip blocks for different functions interleaved.
test/linter/test_skipblocks.py:55
Method
test_leading_curly_apostrophe
Leading curly apostrophe treated as left single quote.
test/linter/test_postprocess.py:355
Method
test_left_single_as_apostrophe_between_ascii
Left single quote `‘` between ASCII letters should become a right apostrophe `’`.
test/linter/test_postprocess.py:283
Method
test_left_single_at_line_end_converted_to_right
A left single quote at end-of-line is treated as an apostrophe and becomes `’`.
test/linter/test_postprocess.py:295
Method
test_left_single_with_space_not_apostrophe
If spaces surround the quote it should NOT be treated as an apostrophe.
test/linter/test_postprocess.py:289
Method
test_log_types
Test logging with different log types.
test/linter/test_utils.py:74
Method
test_logs_when_runner_debug_set
Test logging when RUNNER_DEBUG environment variable is set.
test/linter/test_utils.py:44
Method
test_mixed_content_with_skip_blocks
Test mixed content with multiple skip blocks.
test/linter/test_postprocess.py:89
Method
test_mixed_content_with_skip_blocks
Test mixed content with multiple skip blocks.
test/linter/test_postprocess.py:227
Method
test_mixed_quotes_in_sentence
Test mixed quotes in a sentence.
test/linter/test_postprocess.py:139
Method
test_mixed_quotes_with_skip_blocks
Test both single and double quotes with skip blocks.
test/linter/test_skipblocks.py:238
Method
test_multiline_content
Test multiline content with fullstops.
test/linter/test_postprocess.py:32
Method
test_multiline_content
Test multiline content with quotes.
test/linter/test_postprocess.py:157
← previous
next →
201–300 of 345, ranked by callers