Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 341 - 350 of 1,495 for isInstance (0.14 seconds)

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

  1. src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java

        }
    
        @Test
        @DisplayName("Constructor with CIFSContext: creates instance")
        void constructor_withContext_createsInstance() {
            // Arrange
            CIFSContext ctx = mock(CIFSContext.class);
    
            // Act
            SmbTreeConnectionTrace trace = new SmbTreeConnectionTrace(ctx);
    
            // Assert
            assertNotNull(trace, "Instance should be created");
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/entity/DataStoreParamsTest.java

            assertEquals(123, newParams.get("key2"));
    
            // Verify that modifications to new instance don't affect original
            newParams.put("key3", "value3");
            assertTrue(newParams.containsKey("key3"));
            assertFalse(dataStoreParams.containsKey("key3"));
    
            // Verify that modifications to original don't affect new instance
            dataStoreParams.put("key4", "value4");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/exception/ServletRuntimeExceptionTest.java

            ServletException servletException = new ServletException("Test error");
            ServletRuntimeException runtimeException = new ServletRuntimeException(servletException);
    
            // Verify it's an instance of RuntimeException
            assertTrue(runtimeException instanceof RuntimeException);
            assertTrue(runtimeException instanceof Exception);
            assertTrue(runtimeException instanceof Throwable);
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 5.9K bytes
    - Click Count (0)
  4. compat/maven-model-builder/src/test/resources/poms/factory/complex.xml

    <?xml version="1.0" encoding="UTF-8"?>
    
    <project xmlns="http://maven.apache.org/POM/4.0.0"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
        <modelVersion>4.0.0</modelVersion>
    
        <groupId>test</groupId>
        <artifactId>test</artifactId>
        <version>0.1-SNAPSHOT</version>
        <packaging>pom</packaging>
    
        <properties>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/test/resources/poms/depmgmt/root-distance.xml

    <?xml version="1.0" encoding="UTF-8"?>
    <project xmlns="http://maven.apache.org/POM/4.0.0"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
        <modelVersion>4.0.0</modelVersion>
    
        <groupId>test</groupId>
        <artifactId>test</artifactId>
        <version>0.1-SNAPSHOT</version>
    
        <dependencyManagement>
            <dependencies>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 1K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/job/PurgeLogJob.java

     * preventing log tables from growing too large.
     */
    public class PurgeLogJob {
    
        /** Logger instance for this class */
        private static final Logger logger = LogManager.getLogger(PurgeLogJob.class);
    
        /**
         * Default constructor for PurgeLogJob.
         * Creates a new instance of the log purging job with default settings.
         */
        public PurgeLogJob() {
            // Default constructor
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/ingest/Ingester.java

         */
        public void register() {
            getIngestFactory().add(this);
        }
    
        /**
         * Gets the ingest factory instance for managing ingesters.
         *
         * @return the ingest factory instance
         */
        protected IngestFactory getIngestFactory() {
            return ComponentUtil.getIngestFactory();
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  8. docs/de/docs/advanced/advanced-dependencies.md

    ## Eine Instanz erstellen { #create-an-instance }
    
    Wir könnten eine Instanz dieser Klasse erstellen mit:
    
    {* ../../docs_src/dependencies/tutorial011_an_py310.py hl[18] *}
    
    Und auf diese Weise können wir unsere Abhängigkeit „parametrisieren“, die jetzt `"bar"` enthält, als das Attribut `checker.fixed_content`.
    
    ## Die Instanz als Abhängigkeit verwenden { #use-the-instance-as-a-dependency }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/eventbus/EventBus.java

     * </ol>
     *
     * <h2>Posting Events</h2>
     *
     * <p>To post an event, simply provide the event object to the {@link #post(Object)} method. The
     * EventBus instance will determine the type of event and route it to all registered listeners.
     *
     * <p>Events are routed based on their type &mdash; an event will be delivered to any subscriber for
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 12.7K bytes
    - Click Count (0)
  10. docs/zh/docs/advanced/advanced-dependencies.md

    但我们希望能够把这个固定内容参数化。
    
    ## “可调用”的实例 { #a-callable-instance }
    
    在 Python 中,可以让某个类的实例变成“可调用对象”(callable)。
    
    这里指的是类的实例(类本身已经是可调用的),而不是类本身。
    
    为此,声明一个 `__call__` 方法:
    
    {* ../../docs_src/dependencies/tutorial011_an_py310.py hl[12] *}
    
    在这种情况下,**FastAPI** 会使用这个 `__call__` 来检查附加参数和子依赖,并且稍后会调用它,把返回值传递给你的*路径操作函数*中的参数。
    
    ## 参数化实例 { #parameterize-the-instance }
    
    现在,我们可以用 `__init__` 声明实例的参数,用来“参数化”这个依赖项:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 8.1K bytes
    - Click Count (0)
Back to Top