- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 176 for snippets (0.09 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/doc/RestTestsFromSnippetsTask.groovy
} /** * Is this snippet a candidate for conversion to `// CONSOLE`? */ static isConsoleCandidate(Snippet snippet) { /* Snippets that are responses or already marked as `// CONSOLE` or * `// NOTCONSOLE` are not candidates. */ if (snippet.console != null || snippet.testResponse) { return false } /* js snippets almost always should be marked with `// CONSOLE`. jsCreated: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 19.5K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBadMultiLangSnippets.java
*/ private void flagIfReversed(File file, Map<File, List<Error>> errors, List<Snippet> snippets) { List<Snippet> pair = snippets.stream() .filter(s -> s.lang != Language.UNKNOWN) .limit(2) .toList(); if (pair.size() == 2 && pair.get(0).lang == Language.GROOVY && pair.get(1).lang == Language.KOTLIN) {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Aug 29 10:12:17 GMT 2025 - 7.2K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleUserManualPlugin.java
}); // From the snippets, filter out files generated if the build contained was ever executed task.from(extension.getUserManual().getSnippets(), sub -> { sub.into("snippets"); sub.exclude("**/.gradle/**"); sub.exclude("**/build/**");Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Mar 12 22:33:18 GMT 2026 - 17.8K bytes - Click Count (0) -
docs/en/docs/_llm-test.md
The tests: ## Code snippets { #code-snippets } //// tab | Test This is a code snippet: `foo`. And this is another code snippet: `bar`. And another one: `baz quux`. //// //// tab | Info Content of code snippets should be left as is. See section `### Content of code snippets` in the general prompt in `scripts/translate.py`. //// ## Quotes { #quotes }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 11K bytes - Click Count (0) -
build-tools-internal/src/main/resources/checkstyle.xml
<property name="message" value="Empty javadoc comments are forbidden" /> </module> <!-- We include snippets that are wrapped in `// tag` and `// end` into the docs, stripping the leading spaces. If the context is wider than 76 characters then it'll need to scroll. This fails the build if it sees such snippets. --> <module name="org.elasticsearch.gradle.internal.checkstyle.SnippetLengthCheck">
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Sep 13 12:48:46 GMT 2021 - 6K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/DslReference.java
* The stylesheet directory used by the DSL reference documentation. */ public abstract DirectoryProperty getStylesheetDirectory(); /** * The stylesheet used by the DSL reference to highlight code snippets. */ public abstract RegularFileProperty getHighlightStylesheet(); /** * Resources to include with the generated documentation. */ public abstract ConfigurableFileCollection getResources();Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 1.9K bytes - Click Count (0) -
build-conventions/src/main/java/org/elasticsearch/gradle/internal/checkstyle/SnippetLengthCheck.java
import java.util.regex.Pattern; /** * Checks the snippets included in the docs aren't too wide to fit on * the page. */ public class SnippetLengthCheck extends AbstractFileSetCheck { private static final Pattern START = Pattern.compile("^( *)//\\s*tag::(.+?)\\s*$", Pattern.MULTILINE); private int max; /** * The maximum width that a snippet may have. */ public void setMax(int max) {
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu Jun 10 23:06:44 GMT 2021 - 3.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/entity/HighlightInfo.java
* This class manages highlighting parameters such as fragment size, number of fragments, * and highlighting type for displaying search query matches in result snippets. */ public class HighlightInfo { /** The highlighting type (e.g., plain, html). */ private String type; /** The size of each highlighted fragment in characters. */ private int fragmentSize;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 05 10:17:07 GMT 2026 - 5.2K bytes - Click Count (0) -
build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/doc/SnippetsTask.groovy
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Sep 20 10:08:26 GMT 2021 - 17.8K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/UserManual.java
public abstract class UserManual { /** * The root of the user manual documentation. This is the source of the adoc files. */ public abstract DirectoryProperty getRoot(); /** * Source of snippets that can be inserted into the user manual */ public abstract DirectoryProperty getSnippets(); /** * Working directory for staging directory for intermediate user manual files */Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Mar 12 22:33:18 GMT 2026 - 1.6K bytes - Click Count (0)