Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 179 for Factory (0.07 seconds)

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

  1. android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

        super.setUp();
        CycleDetectingLockFactory factory = CycleDetectingLockFactory.newInstance(Policies.THROW);
        lockA = factory.newReentrantLock("LockA");
        lockB = factory.newReentrantLock("LockB");
        lockC = factory.newReentrantLock("LockC");
        ReentrantReadWriteLock readWriteLockA = factory.newReentrantReadWriteLock("ReadWriteA");
        ReentrantReadWriteLock readWriteLockB = factory.newReentrantReadWriteLock("ReadWriteB");
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 16.2K bytes
    - Click Count (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java

            CrawlerPooledObjectFactory<TestComponent> factory2 = createFactory("singletonComponent", listener);
    
            // Each factory retains its own configuration
            assertEquals("testComponent", factory.getComponentName());
            assertNull(factory.getOnDestroyListener());
    
            assertEquals("singletonComponent", factory2.getComponentName());
            assertSame(listener, factory2.getOnDestroyListener());
        }
    
        /**
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Nov 20 13:07:01 GMT 2025
    - 36.7K bytes
    - Click Count (0)
  3. guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

       * }
       *
       * CycleDetectingLockFactory.WithExplicitOrdering<MyLockOrder> factory =
       *   CycleDetectingLockFactory.newInstanceWithExplicitOrdering(Policies.THROW);
       *
       * Lock lock1 = factory.newReentrantLock(MyLockOrder.FIRST);
       * Lock lock2 = factory.newReentrantLock(MyLockOrder.SECOND);
       * Lock lock3 = factory.newReentrantLock(MyLockOrder.THIRD);
       *
       * lock1.lock();
       * lock3.lock();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 11 17:06:34 GMT 2025
    - 35.9K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       *       {@link NullPointerException}.
       *   <li>If there is any visible constructor or visible static factory method declared by the
       *       class, all visible instance methods will be checked too using the instance created by
       *       invoking the constructor or static factory method.
       *   <li>If the constructor or factory method used to construct instance takes a parameter that
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RouteSelectorTest.kt

            Request
              .Builder()
              .url("https://$uriHost:$uriPort/")
              .build(),
          ) as RealCall
      }
    
      @AfterEach fun tearDown() {
        factory.close()
      }
    
      @Test fun singleRoute() {
        val address = factory.newAddress()
        val routeSelector = newRouteSelector(address)
        assertThat(routeSelector.hasNext()).isTrue()
        dns[uriHost] = dns.allocate(1)
        val selection = routeSelector.next()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Oct 08 03:50:05 GMT 2025
    - 20.3K bytes
    - Click Count (0)
  6. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/ParserRequest.java

         *
         * @return the logger instance
         */
        @Nonnull
        Logger logger();
    
        /**
         * Returns the factory for creating message builders.
         *
         * @return the message builder factory
         */
        @Nonnull
        MessageBuilderFactory messageBuilderFactory();
    
        /**
         * Returns the command-line arguments to be parsed.
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  7. .idea/inspectionProfiles/Gradle.xml

          <replaceConfiguration name="Treat some Guava Collection factory methods as Deprecated" uuid="82f9f9ab-9c3b-367f-99ad-40841dc13819" description="Many no-argument Guava Collection factory methods are marked in their javadoc &quot;Should be treated as deprecated&quot;.  These should not be used." suppressId="guava-collection-factory" problemDescriptor="Treat some Guava Collection factory methods as Deprecated" text="com.google.common.collect.Lists.newArrayList()" recursive="false"...
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Jun 26 21:49:47 GMT 2024
    - 15.4K bytes
    - Click Count (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java

                factory.setExpandEntityReferences(expandEntityRef);
                factory.setIgnoringComments(ignoringComments);
                factory.setIgnoringElementContentWhitespace(ignoringElementContentWhitespace);
                factory.setNamespaceAware(namespaceAware);
                factory.setValidating(validating);
                factory.setXIncludeAware(includeAware);
    
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 23.9K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/curl/CurlTest.java

            // ## Test that each factory method call returns a new instance ##
    
            // ## Act ##
            final CurlRequest request1 = Curl.get("http://example.com");
            final CurlRequest request2 = Curl.get("http://example.com");
    
            // ## Assert ##
            assertNotNull(request1);
            assertNotNull(request2);
    Created: Sat Dec 20 09:13:53 GMT 2025
    - Last Modified: Thu Nov 20 13:34:13 GMT 2025
    - 16.3K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       *       {@link NullPointerException}.
       *   <li>If there is any visible constructor or visible static factory method declared by the
       *       class, all visible instance methods will be checked too using the instance created by
       *       invoking the constructor or static factory method.
       *   <li>If the constructor or factory method used to construct instance takes a parameter that
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 17.9K bytes
    - Click Count (0)
Back to Top