MCPcopy Create free account

hub / github.com/OI-wiki/OI-wiki / functions

Functions345 in github.com/OI-wiki/OI-wiki

↓ 51 callersFunctionlog
Log a message with optional type prefix for GitHub Actions compatibility. This function uses GitHub Actions workflow commands for structured
scripts/linter/utils.py:25
↓ 50 callersFunctionfix_quotation
r""" Fix quotation mark issues in Markdown content. This function replaces smart quotes with corner brackets: - Left single quote `‘` → `『
scripts/linter/postprocess.py:48
↓ 18 callersFunctionfix_full_stop
r""" Fix full stop issues in Markdown content. This function only replace "。" with "." in Markdown content. Args: md_content: The
scripts/linter/postprocess.py:8
↓ 16 callersFunctionfix_details
Fix indentation issues in Markdown content. This function corrects inconsistent indentation in nested Markdown structures, particularly
scripts/linter/preprocess.py:6
↓ 14 callersFunctionlog
(message: string)
scripts/post-build/html-postprocess.ts:23
↓ 11 callersFunctionmin
(a, b)
docs/math/code/bit/bit_2.py:29
↓ 10 callersMethodfind
(self, x)
docs/ds/code/dsu/dsu_2.py:6
↓ 8 callersFunctionadd_text
在右下角添加多行文字
docs/geometry/images/andrew.py:83
↓ 8 callersFunctionpath_to_url
( raw_path: str, base_dir: str = "docs", index_file: str = "index.md" )
scripts/update-feedback-sys-meta.py:95
↓ 8 callersFunctionsummary
(message)
scripts/check-characters.py:14
↓ 7 callersFunctioncommunicate
* Post a message and wait for a "ready" message, * or just wait when "messageToPost" is falsy. * or just post when "messageToWait" is falsy (no prom
scripts/post-build/html-postprocess.ts:98
↓ 7 callersMethodfind
(self, x)
docs/ds/code/dsu/dsu_0.py:6
↓ 7 callersFunctiongen
(compilers, standards, optimizations, auxfiles, sanitizers, mainfile, omit_ms_style=False)
scripts/ub-check.py:79
↓ 7 callersFunctioninit
清空并重绘坐标系和点
docs/geometry/images/andrew.py:106
↓ 7 callersFunctionmax
(a, b)
docs/math/code/bit/bit_2.py:25
↓ 7 callersFunctionsave
保存图片(递增编号)
docs/geometry/images/andrew.py:18
↓ 6 callersMethod_create_test_file
Helper to create a test file and return its path.
test/test_linter_patch.py:22
↓ 6 callersMethod_read_file
Helper to read file content.
test/test_linter_patch.py:29
↓ 6 callersMethodcolored
(self)
scripts/ub-check.py:28
↓ 6 callersFunctioncombine
(A, B)
docs/math/code/continued-fraction/surd-convergent.py:24
↓ 6 callersFunctiondiff
(x, y)
docs/math/code/continued-fraction/sum-floor-axbc.py:25
↓ 6 callersFunctiondiff
(x, y)
docs/math/code/continued-fraction/closest-dio.py:27
↓ 6 callersFunctiondraw_lines
绘制凸壳边界线,highlight=(i,j) 可高亮当前连线
docs/geometry/images/andrew.py:74
↓ 6 callersMethodmain
(String[] args)
docs/graph/code/mst/mst_3.java:66
↓ 6 callersMethodunite
(self, x, y)
docs/ds/code/dsu/dsu_2.py:11
↓ 5 callersFunctionapply_preprocess
Apply preprocessing transformations to Markdown content. This function serves as the main preprocessing pipeline that applies various fo
scripts/linter_patch.py:21
↓ 5 callersMethodfind
(self, x)
docs/ds/code/dsu/dsu_1.py:28
↓ 4 callersFunctiondraw_dashed_line
(ax, p1, p2)
docs/math/linear-algebra/images/vector-rotation.py:29
↓ 4 callersMethodfind
(self, x: int)
docs/ds/code/dsu/dsu_5.py:10
↓ 4 callersMethodfind
(self, x)
docs/ds/code/dsu/dsu_4.py:10
↓ 4 callersFunctionfindroot
(x)
docs/graph/code/mst/mst_3.py:17
↓ 4 callersMethodfindroot
(int x)
docs/graph/code/mst/mst_3.java:28
↓ 4 callersFunctionindex_lfirst_neq
Find the index of the first element in an iterable that is not equal to the given value. Args: l: The iterable to search val
scripts/linter/utils.py:8
↓ 4 callersFunctionmeasureTime
* Measure the execution time of a sync or async operation.
scripts/post-build/html-postprocess.ts:124
↓ 4 callersFunctionsub
(p1, p2)
docs/geometry/images/andrew.py:102
↓ 3 callersFunctiondraw_angle_arc
(ax, center, radius, theta1, theta2, label, offset)
docs/math/linear-algebra/images/vector-rotation.py:33
↓ 3 callersFunctiondraw_vector
(ax, origin, vec, color, label)
docs/math/linear-algebra/images/vector-rotation.py:8
↓ 3 callersFunctiondump_diff
(path: str, oldPath: str = "", before_dir: str = before_dir)
scripts/update-feedback-sys-meta.py:77
↓ 3 callersFunctionexpand
(a)
docs/math/code/continued-fraction/inner-point.py:23
↓ 3 callersFunctionexpand
(a)
docs/math/code/continued-fraction/gcj-2019.py:23
↓ 3 callersMethodfind
(self, x: int)
docs/ds/code/dsu/dsu_3.py:10
↓ 3 callersFunctioninsert
(dq, dp)
docs/math/code/continued-fraction/sum-floor-axbc.py:34
↓ 2 callersFunctionAbs
(n)
docs/math/code/bit/bit_2.py:12
↓ 2 callersFunctionapply_postprocess
Apply postprocessing transformations to Markdown content. This function serves as the main preprocessing pipeline that applies various f
scripts/linter_patch.py:43
↓ 2 callersFunctioncheck
(filename)
scripts/check-characters.py:28
↓ 2 callersFunctioncross
(p1, p2)
docs/geometry/images/andrew.py:98
↓ 2 callersFunctionexpand
(a)
docs/math/code/continued-fraction/compare.py:4
↓ 2 callersFunctionf
(x)
docs/basic/code/binary/binary_1.py:6
↓ 2 callersFunctionfetchAuthors
(cachedData: AuthorsCache, fetchConcurrency = 1)
scripts/post-build/commits-info/authors-cache.ts:13
↓ 2 callersMethodfind
(self, x: int)
docs/ds/code/dsu/dsu_6.py:10
↓ 2 callersFunctionfraction
(p, q)
docs/math/code/continued-fraction/inner-point.py:3
↓ 2 callersFunctionfraction
(p, q)
docs/math/code/continued-fraction/gcj-2019.py:3
↓ 2 callersFunctiongetFileContent
(file: string)
scripts/checker/checker.ts:308
↓ 2 callersFunctiongetUriSet
(root: str)
scripts/post-build/redirect/check-redirects.py:4
↓ 2 callersMethodinitialize
(globalInitializationResult: GlobalInitializationResult, siteDir: string)
scripts/post-build/html-postprocess.ts:38
↓ 2 callersFunctionless_than
(a, b)
docs/math/code/continued-fraction/compare.py:12
↓ 2 callersFunctionloadTaskHandlers
* Load task handlers from corresponding directories with dynamic import.
scripts/post-build/html-postprocess.ts:46
↓ 2 callersFunctionmul
(a, b)
docs/math/code/continued-fraction/flt-presum.py:6
↓ 2 callersFunctionnextCelebration
(current)
scripts/celebration.py:7
↓ 2 callersFunctionpm_eps
(a)
docs/math/code/continued-fraction/inner-point.py:41
↓ 2 callersFunctionpm_eps
(a)
docs/math/code/continued-fraction/gcj-2019.py:40
↓ 2 callersFunctionremove_meta
See issue: https://github.com/squidfunk/mkdocs-material/issues/4179 @Source: https://github.com/mkdocs/mkdocs/blob/master/mkdocs/utils/meta.p
scripts/update-feedback-sys-meta.py:54
↓ 2 callersFunctionstr_2_unicode
(s)
scripts/check-characters.py:10
↓ 1 callersFunctionAndrew
()
docs/geometry/images/andrew.py:114
↓ 1 callersMethodMerge
(int x, int y)
docs/graph/code/mst/mst_3.java:35
↓ 1 callersFunctionOIWIKINotBold
(file: string, line: number | undefined, column: number | undefined)
scripts/checker/checker.ts:404
↓ 1 callersFunction_nav_math
()
hooks/on_env.py:3
↓ 1 callersFunction_quote_replace
(ln, col, char)
scripts/linter/postprocess.py:83
↓ 1 callersFunctionadd
(u, v, w)
docs/graph/code/mst/mst_3.py:12
↓ 1 callersMethodaddEdge
(int u, int v, int w)
docs/graph/code/mst/mst_3.java:23
↓ 1 callersFunctionannotate
(filename, char)
scripts/check-characters.py:46
↓ 1 callersFunctionarrgen
()
scripts/ub-check.py:85
↓ 1 callersFunctionbatch_inverse
(a, m)
docs/math/code/inverse/inverse-3.py:22
↓ 1 callersFunctionbinpow
(a, b, p)
docs/math/code/binary-exponentiation/luogu-P1226-1.py:2
↓ 1 callersFunctionbinpow
(a, b, p)
docs/math/code/binary-exponentiation/luogu-P1226-2.py:2
↓ 1 callersFunctionbpow
(A, n)
docs/math/code/continued-fraction/surd-convergent.py:37
↓ 1 callersFunctionbubble_sort
(a, n)
docs/basic/code/bubble-sort/bubble-sort_1.py:2
↓ 1 callersFunctionbuild
(n, a=0, b=1, c=1, d=0, level=1)
docs/math/code/stern-brocot/tree-build.py:4
↓ 1 callersFunctionbuild
(n, a=0, b=1, c=1, d=1, init=True)
docs/math/code/stern-brocot/farey-build.py:4
↓ 1 callersFunctioncf_e
(N)
docs/math/code/continued-fraction/sum-floor.py:59
↓ 1 callersMethodcheck
(self, x: int, y: int)
docs/ds/code/dsu/dsu_5.py:34
↓ 1 callersFunctioncheckFile
(file: string)
scripts/checker/checker.ts:120
↓ 1 callersFunctioncheckFiles
(fileList: string[])
scripts/checker/checker.ts:107
↓ 1 callersFunctionclosest
(A, B, C, N)
docs/math/code/continued-fraction/closest-dio.py:25
↓ 1 callersFunctioncombine
(svg_dir="./svg/", output_file="andrew.svg")
docs/geometry/images/andrew.py:188
↓ 1 callersFunctionconvergents
(a)
docs/math/code/continued-fraction/hull-under-line.py:13
↓ 1 callersFunctionconvergents
(a)
docs/math/code/continued-fraction/diophantine.py:16
↓ 1 callersFunctionconvergents
(a)
docs/math/code/continued-fraction/sum-floor.py:4
↓ 1 callersFunctionconvergents
(a)
docs/math/code/continued-fraction/recover-fraction.py:13
↓ 1 callersFunctionconvergents
(a)
docs/math/code/continued-fraction/inner-point.py:13
↓ 1 callersFunctionconvergents
(a)
docs/math/code/continued-fraction/gcj-2019.py:13
↓ 1 callersFunctionconvergents
(a)
docs/math/code/continued-fraction/mod-mod-mod.py:13
↓ 1 callersFunctionconvergents
(a)
docs/math/code/continued-fraction/sum-floor-axbc.py:13
↓ 1 callersFunctionconvergents
(a)
docs/math/code/continued-fraction/closest-dio.py:13
↓ 1 callersFunctioncorrectness_check
Check correctness of one instance of example code.
scripts/correctness_check.py:12
↓ 1 callersFunctioncounting_sort
(a, n, w)
docs/basic/code/counting-sort/counting-sort_1.py:2
↓ 1 callersFunctiondeleteLineUsed
(file: string, line: number | undefined, column: number | undefined)
scripts/checker/checker.ts:408
↓ 1 callersFunctiondio
(A, B, C)
docs/math/code/continued-fraction/diophantine.py:29
↓ 1 callersFunctiondivPowerOfTwo
(n, m)
docs/math/code/bit/bit_2.py:6
↓ 1 callersFunctiondoubleEqualSigns
(file: string, line: number | undefined, column: number | undefined)
scripts/checker/checker.ts:374
next →1–100 of 345, ranked by callers