Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 207 for managed (0.05 seconds)

  1. src/test/java/jcifs/util/ResourceManagerTest.java

        }
    
        @Test
        @DisplayName("Test managed resource wrapper")
        void testManagedResource() throws Exception {
            TestResource resource = new TestResource("test3");
    
            try (ResourceManager.ManagedResource<TestResource> managed = resourceManager.manage(resource)) {
                assertNotNull(managed.get());
                assertEquals("test3", managed.get().getName());
                assertFalse(resource.isClosed());
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

                                LinkedHashMap::new));
    
                // for each managed dep in the model:
                // * if there is no corresponding node in the tree, discard the managed dep
                // * if there's a direct dependency, apply the managed dependency to it and discard the managed dep
                // * else keep the managed dep
                managedDependencies.keySet().retainAll(nodes.keySet());
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Nov 27 07:40:26 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  3. src/main/java/jcifs/util/ResourceManager.java

                    totalReleased.get(), totalLeaks.get(), cleaned);
        }
    
        /**
         * Create a managed resource wrapper
         *
         * @param <T> resource type
         * @param resource the resource to wrap
         * @return managed resource
         */
        public <T extends AutoCloseable> ManagedResource<T> manage(T resource) {
            String resourceId = registerResource(resource);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.2K bytes
    - Click Count (0)
  4. ci/official/utilities/setup_macos.sh

      echo "Current pyevn version: $(pyenv --version)"
    
      # Check if pyenv is managed by homebrew. If so, update and upgrade pyenv.
      # Otherwise, install the latest pyenv from github.
      if command -v brew &> /dev/null && brew list pyenv &> /dev/null; then
        # On "ventura-slcn" VMs, pyenv is managed via Homebrew.
        echo "pyenv is installed and managed by homebrew."
        (brew update && brew upgrade pyenv) || true
      else
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Mon Oct 06 22:42:26 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

       *
       * @param listener the listener to run when the manager changes state
       * @param executor the executor in which the listeners callback methods will be run.
       */
      public void addListener(Listener listener, Executor executor) {
        state.addListener(listener, executor);
      }
    
      /**
       * Initiates service {@linkplain Service#startAsync startup} on all the services being managed. It
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 17:49:12 GMT 2025
    - 33.2K bytes
    - Click Count (1)
  6. guava/src/com/google/common/util/concurrent/ServiceManager.java

       *
       * @param listener the listener to run when the manager changes state
       * @param executor the executor in which the listeners callback methods will be run.
       */
      public void addListener(Listener listener, Executor executor) {
        state.addListener(listener, executor);
      }
    
      /**
       * Initiates service {@linkplain Service#startAsync startup} on all the services being managed. It
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 17:49:12 GMT 2025
    - 32.9K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategy.java

            return trimParentElementFull(context, root, parentElement, pomMap);
        }
    
        /**
         * Applies dependency-related inference optimizations.
         * Removes managed dependencies that point to project artifacts.
         */
        private boolean applyDependencyInference(UpgradeContext context, Set<Coordinates> allGAVs, Document pomDocument) {
            boolean hasChanges = false;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 27.6K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java

     *       <li>Removes parent {@code <artifactId>} when it can be inferred from relativePath</li>
     *     </ul>
     *   </li>
     *   <li><strong>Managed Dependencies Cleanup</strong>: Removes managed dependencies pointing to project artifacts</li>
     *   <li><strong>Dependency Inference</strong>:
     *     <ul>
     *       <li>Removes dependency {@code <version>} when it points to a project artifact</li>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/CrawlingParameterUtil.java

     * This class provides methods to set and get various parameters related to the crawling process.
     *
     * <p>This class is final and cannot be instantiated.</p>
     *
     * <p>The following parameters are managed:</p>
     * <ul>
     *   <li>{@link UrlQueue} - The queue of URLs to be crawled.</li>
     *   <li>{@link CrawlerContext} - The context of the current crawling process.</li>
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sat Nov 22 13:28:22 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/EXTRACTOR_TESTS_README.md

    3. **Coverage**: Both success and failure paths are tested
    4. **Edge Cases**: Null, empty, and boundary conditions are covered
    5. **Resources**: Test resources are properly managed and cleaned up
    
    ## Contributing
    
    When adding new tests:
    1. Follow the existing naming convention: `test_<method>_<scenario>_<expectedResult>`
    2. Add clear JavaDoc comments explaining the test purpose
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Wed Nov 19 08:55:01 GMT 2025
    - 5.7K bytes
    - Click Count (0)
Back to Top