Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 179 for Snippet (0.04 seconds)

  1. 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);
     * }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 4K bytes
    - Click Count (0)
  2. 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);
     * }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  3. 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)
  4. src/main/java/org/codelibs/fess/entity/ChatMessage.java

            /**
             * Gets the source snippet.
             *
             * @return the source snippet
             */
            public String getSnippet() {
                return snippet;
            }
    
            /**
             * Sets the source snippet.
             *
             * @param snippet the source snippet
             */
            public void setSnippet(final String snippet) {
                this.snippet = snippet;
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 04:52:31 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  5. 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",
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat May 03 21:14:22 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  6. 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"
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Aug 07 14:31:13 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  7. 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"
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Aug 07 14:31:13 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/graph/Traverser.java

       * <p>The graph below would be valid input with start nodes of {@code a, f, c}. However, if {@code
       * b} were <i>also</i> a start node, then there would be multiple paths to reach {@code e} and
       * {@code h}.
       *
       * {@snippet :
       *    a     b      c
       *   / \   / \     |
       *  /   \ /   \    |
       * d     e     f   g
       *       |
       *       |
       *       h
       * }
       *
       * <p>.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 19.3K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/entity/ChatMessageTest.java

            doc.put("content_description", "Test snippet");
    
            final ChatSource source = new ChatSource(5, doc);
    
            assertEquals(5, source.getIndex());
            assertEquals("Test Title", source.getTitle());
            assertEquals("https://example.com", source.getUrl());
            assertEquals("doc-123", source.getDocId());
            assertEquals("Test snippet", source.getSnippet());
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 9.2K bytes
    - Click Count (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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 20:19:19 GMT 2026
    - 12.3K bytes
    - Click Count (0)
Back to Top