Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 142 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. compat/maven-model-builder/src/main/resources/org/apache/maven/model/pom-4.0.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>
      <modelVersion>4.0.0</modelVersion>
    
      <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Apr 07 13:30:22 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  3. 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)
  4. android/guava/src/com/google/common/graph/PredecessorsFunction.java

     *
     * Given an algorithm, for example:
     *
     * {@snippet :
     * public <N> someGraphAlgorithm(N startNode, PredecessorsFunction<N> predecessorsFunction);
     * }
     *
     * you will invoke it depending on the graph representation you're using.
     *
     * <p>If you have an instance of one of the primary {@code common.graph} types ({@link Graph},
     * {@link ValueGraph}, and {@link Network}):
     *
     * {@snippet :
     * someGraphAlgorithm(startNode, graph);
     * }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/SuccessorsFunction.java

     *
     * Given an algorithm, for example:
     *
     * {@snippet :
     * public <N> someGraphAlgorithm(N startNode, SuccessorsFunction<N> successorsFunction);
     * }
     *
     * you will invoke it depending on the graph representation you're using.
     *
     * <p>If you have an instance of one of the primary {@code common.graph} types ({@link Graph},
     * {@link ValueGraph}, and {@link Network}):
     *
     * {@snippet :
     * someGraphAlgorithm(startNode, graph);
     * }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  6. impl/maven-core/src/site/apt/lifecycles.apt.vm

      plugins bindings for this lifecycle are {{{./default-bindings.html}defined separately for each packaging}}:
    
    %{snippet|id=default|file=${project.basedir}/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java}
    
    * <<<clean>>> Lifecycle
    
      <<<clean>>> lifecycle phases are defined with their plugins bindings:
    
    %{snippet|id=clean|file=${project.basedir}/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java}
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jan 08 22:14:18 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/graph/PredecessorsFunction.java

     *
     * Given an algorithm, for example:
     *
     * {@snippet :
     * public <N> someGraphAlgorithm(N startNode, PredecessorsFunction<N> predecessorsFunction);
     * }
     *
     * you will invoke it depending on the graph representation you're using.
     *
     * <p>If you have an instance of one of the primary {@code common.graph} types ({@link Graph},
     * {@link ValueGraph}, and {@link Network}):
     *
     * {@snippet :
     * someGraphAlgorithm(startNode, graph);
     * }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 4K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/providers/packaging/MavenPluginLifecycleMappingProvider.java

     */
    @Named("maven-plugin")
    @Singleton
    public final class MavenPluginLifecycleMappingProvider extends AbstractLifecycleMappingProvider {
        // START SNIPPET: maven-plugin
        private static final String[] BINDINGS = {
            "process-resources",
                    "org.apache.maven.plugins:maven-resources-plugin:" + RESOURCES_PLUGIN_VERSION + ":resources",
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat May 03 21:14:22 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  9. 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)
  10. guava-testlib/src/com/google/common/testing/GcFinalization.java

     * period or an interrupt while waiting for the expected event will result in a {@link
     * RuntimeException}.
     *
     * <p>Here's an example that tests a {@code finalize} method:
     *
     * {@snippet :
     * final CountDownLatch latch = new CountDownLatch(1);
     * Object x = new MyClass() {
     *   ...
     *   protected void finalize() { latch.countDown(); ... }
     * };
     * x = null;  // Hint to the JIT that x is stack-unreachable
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.5K bytes
    - Viewed (0)
Back to top