Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 571 - 580 of 1,426 for Examples (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/org/codelibs/fess/helper/LogNotificationHelperTest.java

        public void test_offer_and_drainAll() {
            LogNotificationHelper helper = new LogNotificationHelper();
            helper.offer(new LogNotificationEvent(1000L, "ERROR", "com.example.Foo", "message1", "throwable1"));
            helper.offer(new LogNotificationEvent(2000L, "WARN", "com.example.Bar", "message2", null));
    
            List<LogNotificationEvent> events = helper.drainAll();
            assertEquals(2, events.size());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

     * possible sequences of these operations, up to a given number of steps. So, if the caller
     * specifies to use <i>n</i> steps, a total of <i>3^n</i> tests are actually performed.
     *
     * <p>For instance, if <i>steps</i> is 5, one example sequence that will be tested is:
     *
     * <ol>
     *   <li>remove();
     *   <li>hasNext()
     *   <li>hasNext();
     *   <li>remove();
     *   <li>next();
     * </ol>
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/Artifact.java

         * If the {@linkplain #getBaseVersion() base version} contains a meta-version such as {@code SNAPSHOT},
         * those keywords are replaced by, for example, the actual timestamp.
         *
         * @see ArtifactCoordinates#getVersionConstraint()
         */
        @Nonnull
        Version getVersion();
    
        /**
         * {@return the version or meta-version of the artifact}.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jun 26 07:56:58 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  4. docs/en/docs/tutorial/middleware.md

    You can add code to be run with the `request`,  before any *path operation* receives it.
    
    And also after the `response` is generated, before returning it.
    
    For example, you could add a custom header `X-Process-Time` containing the time in seconds that it took to process the request and generate a response:
    
    {* ../../docs_src/middleware/tutorial001_py310.py hl[10,12:13] *}
    
    /// tip
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  5. docs/fr/docs/advanced/strict-content-type.md

    * et l’application n’a aucun mécanisme d’authentification, elle part du principe que toute requête provenant du même réseau est fiable.
    
    ## Exemple d’attaque { #example-attack }
    
    Imaginez que vous mettiez au point un moyen d’exécuter un agent IA local.
    
    Il expose une API à l’adresse
    
    ```
    http://localhost:8000/v1/agents/multivac
    ```
    
    Il y a aussi un frontend à l’adresse
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:33:45 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  6. docs/pt/llm-prompt.md

    ### Target language
    
    Translate to Portuguese (Português).
    
    Language code: pt.
    
    For instructions or titles in imperative, keep them in imperative, for example "Import FastAPI" to "Importe o FastAPI".
    
    Keep existing translations as they are if the term is already translated.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Jan 16 12:27:02 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/Hc5FormScheme.java

     * requests. It also allows for the replacement of placeholders in URLs and
     * parameters with actual credentials.
     *
     * <p>Usage example:
     * <pre>
     * {@code
     * Map<String, String> params = new HashMap<>();
     * params.put("token_url", "http://example.com/token");
     * params.put("login_url", "http://example.com/login");
     * Hc5FormScheme formScheme = new Hc5FormScheme(params);
     * formScheme.authenticate(credentials, executor);
     * }
     * </pre>
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jan 04 13:09:59 GMT 2026
    - 15.1K bytes
    - Click Count (0)
  8. dbflute_fess/dfprop/lastafluteMap.dfprop

    #     }
    # }
    #
    # *The line that starts with '#' means comment-out.
    #
    map:{
        # your service name, camel case, initial uncapitalised
        ; serviceName = fess
    
        # package for your domain name, e.g. com.example
        ; domainPackage = org.codelibs.fess
    
        # keywords for environment properties, same as directory name
        ; environmentList = list:{}
    
        # environment dispatch by lasta.env of system property?
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun May 20 08:20:11 GMT 2018
    - 2.2K bytes
    - Click Count (0)
  9. guava-testlib/src/com/google/common/collect/testing/TestStringQueueGenerator.java

     *
     * @author Jared Levy
     */
    @GwtCompatible
    @NullMarked
    public abstract class TestStringQueueGenerator implements TestQueueGenerator<String> {
      @Override
      public SampleElements<String> samples() {
        return new Strings();
      }
    
      @Override
      public Queue<String> create(Object... elements) {
        String[] array = new String[elements.length];
        int i = 0;
        for (Object e : elements) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  10. src/test/java/jcifs/dcerpc/msrpc/MsrpcLsarOpenPolicy2Test.java

            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        void constructor_shouldInitializeFieldsCorrectly() {
            // Given
            String server = "testServer";
            int access = 0x00000001; // Example access value
    
            // When
            MsrpcLsarOpenPolicy2 msrpcLsarOpenPolicy2 = new MsrpcLsarOpenPolicy2(server, access, mockPolicyHandle);
    
            // Then
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.1K bytes
    - Click Count (0)
Back to Top