Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 94 for Snippet (0.04 sec)

  1. 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) {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Aug 29 10:12:17 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  2. 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
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 20.1K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/resources/org/apache/maven/model/pom-4.1.0.xml

    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    KIND, either express or implied.  See the License for the
    specific language governing permissions and limitations
    under the License.
    -->
    
    <!-- START SNIPPET: superpom -->
    <project xmlns="http://maven.apache.org/POM/4.1.0"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Aug 07 14:31:13 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  4. 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"));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 20:54:16 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. 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
       *  \ /
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 17:09:51 UTC 2025
    - 47.4K bytes
    - Viewed (2)
  6. compat/maven-model-builder/src/main/resources/org/apache/maven/model/pom-4.2.0.xml

    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    KIND, either express or implied.  See the License for the
    specific language governing permissions and limitations
    under the License.
    -->
    
    <!-- START SNIPPET: superpom -->
    <project xmlns="http://maven.apache.org/POM/4.2.0"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Aug 07 14:31:13 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

    import java.util.concurrent.TimeoutException;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A {@link ListenableFuture} that supports fluent chains of operations. For example:
     *
     * {@snippet :
     * ListenableFuture<Boolean> adminIsLoggedIn =
     *     FluentFuture.from(usersDatabase.getAdminUser())
     *         .transform(User::getId, directExecutor())
     *         .transform(ActivityService::isLoggedIn, threadPool)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  8. 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`
            »»»
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:05:53 UTC 2025
    - 34.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Streams.java

       * respective source streams. For example:
       *
       * {@snippet :
       * Streams.forEachPair(
       *   Stream.of("foo1", "foo2", "foo3"),
       *   Stream.of("bar1", "bar2"),
       *   (arg1, arg2) -> System.out.println(arg1 + ":" + arg2)
       * }
       *
       * <p>will print:
       *
       * {@snippet :
       * foo1:bar1
       * foo2:bar2
       * }
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 21 15:40:45 UTC 2025
    - 36.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ContiguousSet.java

    /**
     * A sorted set of contiguous values in a given {@link DiscreteDomain}. Example:
     *
     * {@snippet :
     * ContiguousSet.create(Range.closed(5, 42), DiscreteDomain.integers())
     * }
     *
     * <p>Note that because bounded ranges over {@code int} and {@code long} values are so common, this
     * particular example can be written as just:
     *
     * {@snippet :
     * ContiguousSet.closed(5, 42)
     * }
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.9K bytes
    - Viewed (0)
Back to top