Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,289 for INSTANCE (0.17 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/container/StandardCrawlerContainer.java

             * @param instance the component instance
             * @param initializer the initializer function (can be null)
             * @param container the container instance for dependency injection
             */
            protected ComponentDef(final T instance, final Consumer<T> initializer, final StandardCrawlerContainer container) {
                this.instance = instance;
                this.initializer = initializer;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/util/LogStreamTest.java

        void testGetInstanceWithoutSetInstance() {
            // Test getInstance when no instance has been set
            // Should default to System.err
            LogStream instance = LogStream.getInstance();
            assertNotNull(instance);
    
            // Getting instance again should return the same instance
            LogStream instance2 = LogStream.getInstance();
            assertSame(instance, instance2);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/context/SingletonContextTest.java

        // Use reflection to reset the singleton instance between tests
        @BeforeEach
        @AfterEach
        void resetSingleton() {
            try {
                Field instance = SingletonContext.class.getDeclaredField("INSTANCE");
                instance.setAccessible(true);
                instance.set(null, null);
            } catch (NoSuchFieldException | IllegalAccessException e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/com/SmbComWriteAndXResponseTest.java

            byte[] buffer = new byte[] { (byte) 0xff, (byte) 0xff, 0, 0, 0, 0, 0, 0 };
            SmbComWriteAndXResponse instance = new SmbComWriteAndXResponse(config);
    
            // When
            int result = instance.readParameterWordsWireFormat(buffer, 0);
    
            // Then
            assertEquals(8, result);
            assertEquals(0xffffL, instance.getCount());
        }
    
        /**
         * Test of readParameterWordsWireFormat with zero count
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/api/ApiResult.java

             * @param status The status to set.
             * @return This ApiResponse instance.
             */
            public ApiResponse status(final Status status) {
                this.status = status.getId();
                return this;
            }
    
            /**
             * Returns a new ApiResult instance with this ApiResponse.
             * @return A new ApiResult instance.
             */
            public ApiResult result() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/advanced-dependencies.md

    But we want to be able to parameterize that fixed content.
    
    ## A "callable" instance { #a-callable-instance }
    
    In Python there's a way to make an instance of a class a "callable".
    
    Not the class itself (which is already a callable), but an instance of that class.
    
    To do that, we declare a method `__call__`:
    
    {* ../../docs_src/dependencies/tutorial011_an_py39.py hl[12] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Suppliers.java

          @ParametricNullness T instance) {
        return new SupplierOfInstance<>(instance);
      }
    
      private static final class SupplierOfInstance<T extends @Nullable Object>
          implements Supplier<T>, Serializable {
        @ParametricNullness final T instance;
    
        SupplierOfInstance(@ParametricNullness T instance) {
          this.instance = instance;
        }
    
        @Override
        @ParametricNullness
        public T get() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/io/Traverser.java

         * <p>
         * If a root package is specified at instance construction, the specified class name is interpreted as a relative name from the root package.
         * </p>
         *
         * @param className the class name
         * @return <code>true</code> if the class file exists in the resources handled by this instance
         */
        boolean isExistClass(final String className);
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

          for (Invokable<?, ?> factory : getFactoriesToTest()) {
            Object instance = instantiate(factory);
            if (instance != null
                && packagesToTest.contains(Reflection.getPackageName(instance.getClass()))) {
              try {
                nullPointerTester.testAllPublicInstanceMethods(instance);
              } catch (AssertionError e) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  10. docs/es/docs/advanced/advanced-dependencies.md

    Pero queremos poder parametrizar ese contenido fijo.
    
    ## Una *instance* "callable"
    
    En Python hay una forma de hacer que una instance de una clase sea un "callable".
    
    No la clase en sí (que ya es un callable), sino una instance de esa clase.
    
    Para hacer eso, declaramos un método `__call__`:
    
    {* ../../docs_src/dependencies/tutorial011_an_py39.py hl[12] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top