hero

SourceCodeTrace

Make your code traceable

Learn more

Advanced Markdown Template

Enhance your articles with standardized code blocks, including language, start line, highlight location, and source address for better credibility.

Multi-platform Parsing Support

Enjoy support for open-source markdown-it, vurepress, and sublime parsing plugins, making it versatile across different platforms.

MarkdownQuote Plugin Integration

Seamless integration with JetBrains IDE allows you to easily copy code blocks adhering to the new Markdown standard using the MarkdownQuote plugin.

# Advanced Markdown Template

```java {3125-3131} {3126-3130} (https://github.com/10cl/fwkdev/blob/android-13.0.0_r52/dev/src/frameworks/base/services/core/java/com/android/server/am/OomAdjuster.java#L3125-L3131)
        // Use current adjustment when freezing, set adjustment when unfreezing.
        if (state.getCurAdj() >= ProcessList.CACHED_APP_MIN_ADJ && !opt.isFrozen()
                && !opt.shouldNotFreeze()) {
            mCachedAppOptimizer.freezeAppAsyncLSP(app);
        } else if (state.getSetAdj() < ProcessList.CACHED_APP_MIN_ADJ) {
            mCachedAppOptimizer.unfreezeAppLSP(app, oomAdjReason);
        }
    }
```

 
 
 
 
 


        // Use current adjustment when freezing, set adjustment when unfreezing.
        if (state.getCurAdj() >= ProcessList.CACHED_APP_MIN_ADJ && !opt.isFrozen()
                && !opt.shouldNotFreeze()) {
            mCachedAppOptimizer.freezeAppAsyncLSP(app);
        } else if (state.getSetAdj() < ProcessList.CACHED_APP_MIN_ADJ) {
            mCachedAppOptimizer.unfreezeAppLSP(app, oomAdjReason);
        }
    }
3125
3126
3127
3128
3129
3130
3131
3132

TIP

  • Click view raw to directly access the specific source corresponding to the code block (branch, version, location, author, etc.).
  • The MarkdownQuote plugin in JetBrain IDE generates references automatically for easier citation. :::

(Note: The text above retains the original content while enhancing the presentation and clarity. If you have any further preferences or specific requirements, please let me know.)