Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 513 for usage (0.82 sec)

  1. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelTransformer.java

     * </ol>
     * <p>
     * Implementations of this interface will be discovered through the Java ServiceLoader mechanism
     * and will be called in sequence during model building.
     * <p>
     * Example usage:
     * <pre>
     * public class CustomModelTransformer implements ModelTransformer {
     *     public Model transformEffectiveModel(Model model) throws ModelTransformerException {
     *         // Add a custom property to all models
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java

                }
            }
        }
    
        @Test
        @DisplayName("Test constant values follow bit flag pattern")
        void testConstantsBitFlagPattern() {
            // Most values should be powers of 2 for bit flag usage
            assertTrue(isPowerOfTwo(SecurityInfo.OWNER_SECURITY_INFO));
            assertTrue(isPowerOfTwo(SecurityInfo.GROUP_SECURITY_INFO));
            assertTrue(isPowerOfTwo(SecurityInfo.DACL_SECURITY_INFO));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  3. docs/features/caching.md

    =======
    
    OkHttp implements an optional, off by default, Cache. OkHttp aims for RFC correct and
    pragmatic caching behaviour, following common real-world browser like Firefox/Chrome and 
    server behaviour when ambiguous.
    
    # Basic Usage
    
    ```kotlin
      private val client: OkHttpClient = OkHttpClient.Builder()
          .cache(Cache(
              directory = File(application.cacheDir, "http_cache"),
              // $0.05 worth of phone storage in 2020
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 3.1K bytes
    - Viewed (1)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/Packaging.java

     *     <li>{@code maven-plugin}: Packages the project as a Maven plugin.</li>
     * </ul>
     *
     * <h2>Usage Example</h2>
     *
     * <pre>
     * {@code
     * Session session = ... // Obtain a Maven session
     * Packaging packaging = session.requirePackaging("jar");
     * System.out.println(packaging.getId()); // Outputs "jar"
     * }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java

            assertTrue(rangeSet.contains(CrawlerStatus.RUNNING));
            assertFalse(rangeSet.contains(CrawlerStatus.DONE));
        }
    
        /**
         * Test switch statement usage
         */
        public void test_switchStatement() {
            for (CrawlerStatus status : CrawlerStatus.values()) {
                String description = getStatusDescription(status);
                assertNotNull(description);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbFileHandleImplTest.java

        @DisplayName("release() decrements usage; closes only when count reaches zero")
        void release_decrementsAndClosesOnZero() throws CIFSException {
            when(cfg.isTraceResourceUsage()).thenReturn(false);
            stubValidTree(8L, true, true);
    
            SmbFileHandleImpl h = new SmbFileHandleImpl(cfg, new byte[] { 1, 2, 3 }, tree, "//srv/share", 0, 0, 0, 0, 0L);
    
            // Increase usage to 2
            h.acquire();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/security/oauth2-jwt.md

    <img src="/img/tutorial/security/image10.png">
    
    /// note
    
    Notice the header `Authorization`, with a value that starts with `Bearer `.
    
    ///
    
    ## Advanced usage with `scopes` { #advanced-usage-with-scopes }
    
    OAuth2 has the notion of "scopes".
    
    You can use them to add a specific set of permissions to a JWT token.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Sep 29 02:57:38 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolver.java

     * {@link java.net.IDN} class.
     *
     * <p>This class allows setting a custom flag for the IDN conversion and a custom
     * encoding for URL decoding.</p>
     *
     * <p>Example usage:</p>
     * <pre>
     * {@code
     * IdnDnsResolver resolver = new IdnDnsResolver();
     * resolver.setFlag(IDN.ALLOW_UNASSIGNED);
     * resolver.setEncoding("UTF-8");
     * InetAddress[] addresses = resolver.resolve("example.com");
     * }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 06 07:24:43 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/ListenableFutureTask.java

      // TODO(cpovirk): explore ways of making ListenableFutureTask final. There are some valid reasons
      // such as BoundedQueueExecutorService to allow extends but it would be nice to make it final to
      // avoid unintended usage.
    
      // The execution list to hold our listeners.
      private final ExecutionList executionList = new ExecutionList();
    
      /**
       * Creates a {@code ListenableFutureTask} that will upon running, execute the given {@code
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Interners.java

       * interned, and so does not prevent these instances from being garbage-collected. This most
       * likely does not perform as well as {@link #newStrongInterner}, but is the best alternative when
       * the memory usage of that implementation is unacceptable.
       */
      @GwtIncompatible("java.lang.ref.WeakReference")
      public static <E> Interner<E> newWeakInterner() {
        return newBuilder().weak().build();
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 6K bytes
    - Viewed (0)
Back to top