Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 123 for inheritance (0.08 seconds)

  1. docs/en/docs/tutorial/response-model.md

    But in most of the cases where we need to do something like this, we want the model just to **filter/remove** some of the data as in this example.
    
    And in those cases, we can use classes and inheritance to take advantage of function **type annotations** to get better support in the editor and tools, and still get the FastAPI **data filtering**.
    
    {* ../../docs_src/response_model/tutorial003_01_py310.py hl[7:10,13:14,18] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 15.5K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/rank/fusion/RankFusionSearcherTest.java

                return SearchResult.create().build();
            }
        }
    
        /**
         * Extended searcher for testing inheritance.
         */
        static class ExtendedTestSearcher extends TestSearcher {
            @Override
            protected SearchResult search(String query, SearchRequestParams params, OptionalThing<FessUserBean> userBean) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  3. apache-maven/src/assembly/maven/conf/settings.xml

        <!-- mirror
         | Specifies a repository mirror site to use instead of a given repository. The repository that
         | this mirror serves has an ID that matches the mirrorOf element of this mirror. IDs are used
         | for inheritance and direct lookup purposes, and must be unique across the set of mirrors.
         |
        <mirror>
          <id>mirrorId</id>
          <mirrorOf>repositoryId</mirrorOf>
          <name>Human Readable Name for this Mirror.</name>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jan 22 07:44:50 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb1/https/HandlerTest.java

                method.setAccessible(true);
                assertEquals(443, method.invoke(testHandler));
            }
    
            @Test
            @DisplayName("Should maintain inheritance hierarchy")
            void testInheritanceHierarchy() {
                // When
                Class<?> superclass = Handler.class.getSuperclass();
    
                // Then
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java

                assertArrayEquals(bufferCopy, originalBuffer);
            }
        }
    
        /**
         * Test inheritance from ServerMessageBlock
         */
        @Test
        @DisplayName("Test inheritance from ServerMessageBlock")
        public void testInheritance() {
            // Given
            smbComTreeDisconnect = new SmbComTreeDisconnect(config);
    
            // Then
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.5K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/curl/Curl.java

         */
        public static final File tmpDir = new File(System.getProperty("java.io.tmpdir"));
    
        /**
         * Protected constructor to prevent direct instantiation but allow inheritance.
         */
        protected Curl() {
            // nothing
        }
    
        /**
         * Creates a new CurlRequest with the HTTP GET method for the specified URL.
         *
         * @param url the URL to send the GET request to
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Thu Nov 20 13:34:13 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/exception/SsoMessageExceptionTest.java

            assertNull(exception.getMessageCode());
        }
    
        @Test
        public void test_inheritanceFromFessSystemException() {
            // Setup
            final String message = "Test inheritance";
            final VaMessenger<FessMessages> messageCode = messages -> messages.addErrorsSsoLoginError(UserMessages.GLOBAL_PROPERTY_KEY);
    
            // Execute
    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)
  8. src/test/java/org/codelibs/fess/exception/DataStoreExceptionTest.java

            } catch (Exception e) {
                fail("Should have caught DataStoreException");
            }
        }
    
        @Test
        public void test_inheritance() {
            // Test inheritance hierarchy
            DataStoreException exception = new DataStoreException("Test");
    
            assertTrue(exception instanceof DataStoreException);
            assertTrue(exception instanceof FessSystemException);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/hash/AbstractStreamingHasher.java

     * entire "chunk" (of implementation-dependent length) is ready to be hashed.
     *
     * @author Kevin Bourrillion
     * @author Dimitris Andreou
     */
    // TODO(kevinb): this class still needs some design-and-document-for-inheritance love
    abstract class AbstractStreamingHasher extends AbstractHasher {
      /** Buffer via which we pass data to the hash algorithm (the implementor) */
      private final ByteBuffer buffer;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 7.1K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java

            }
    
            @Test
            @DisplayName("Should handle response as part of ServerMessageBlock2")
            void testAsServerMessageBlock2Response() {
                // Verify inheritance
                assertTrue(response instanceof ServerMessageBlock2);
    
                // Verify command can be retrieved from parent
                assertEquals(0, response.getCommand());
            }
    
            @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.9K bytes
    - Click Count (0)
Back to Top