- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 115 for snippet (0.06 seconds)
-
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 Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Aug 29 10:12:17 GMT 2025 - 7.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java
public Collection<Phase> phases() { // START SNIPPET: clean return List.of(phase( Phase.CLEAN, plugin( MAVEN_PLUGINS + "maven-clean-plugin:" + MAVEN_CLEAN_PLUGIN_VERSION + ":clean", Phase.CLEAN))); // END SNIPPET: clean } @Override
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 20.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/graph/TraverserTest.java
* * {@snippet : * b ---- a ---- d * | | * | | * e ---- c ---- f * } */ private static final SuccessorsFunction<Character> JAVADOC_GRAPH = createUndirectedGraph("ba", "ad", "be", "ac", "ec", "cf"); /** * A diamond shaped directed graph (arrows going down): * * {@snippet : * a * / \ * b c * \ /Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 30 17:09:51 GMT 2025 - 47.4K bytes - Click Count (2) -
android/guava-testlib/src/com/google/common/collect/testing/IteratorTester.java
* * <p>For example, to test {@link java.util.Collections#unmodifiableList(java.util.List) * Collections.unmodifiableList}'s iterator: * * {@snippet : * List<String> expectedElements = * Arrays.asList("a", "b", "c", "d", "e"); * List<String> actualElements = * Collections.unmodifiableList( * Arrays.asList("a", "b", "c", "d", "e"));Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 4.3K bytes - Click Count (0) -
scripts/translate.py
"code snippet" Also called "inline code". Text in a Markdown document which is surrounded by single backticks. A paragraph in a Markdown document can have a more than one code snippet. Example: ««« `i am a code snippet` »»» Example: ««« `first code snippet` `second code snippet` `third code snippet` »»»Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 19:05:53 GMT 2025 - 34.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Streams.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 21 15:40:45 GMT 2025 - 36.8K bytes - Click Count (0) -
guava/src/com/google/common/base/Stopwatch.java
* reasonably accurate values are sufficient. If the uncommon case that you need to maximize * accuracy, use {@code System.nanoTime()} directly instead. * * <p>Basic usage: * * {@snippet : * Stopwatch stopwatch = Stopwatch.createStarted(); * doSomething(); * stopwatch.stop(); // optional * * Duration duration = stopwatch.elapsed(); *Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Oct 08 18:55:33 GMT 2025 - 9.2K 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 Dec 28 07:19:09 GMT 2025 - Last Modified: Thu Dec 11 14:48:47 GMT 2025 - 11.4K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/IteratorTester.java
* * <p>For example, to test {@link java.util.Collections#unmodifiableList(java.util.List) * Collections.unmodifiableList}'s iterator: * * {@snippet : * List<String> expectedElements = * Arrays.asList("a", "b", "c", "d", "e"); * List<String> actualElements = * Collections.unmodifiableList( * Arrays.asList("a", "b", "c", "d", "e"));Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 4.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/FluentIterable.java
* as a {@code List}: * * {@snippet : * ImmutableList<String> results = * FluentIterable.from(database.getClientList()) * .filter(Client::isActiveInLastMonth) * .transform(Object::toString) * .limit(10) * .toList(); * } * * The approximate stream equivalent is: * * {@snippet : * List<String> results = * database.getClientList()Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 34.7K bytes - Click Count (0)