Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1631 - 1640 of 7,998 for klass (0.02 sec)

  1. docs_src/additional_responses/tutorial001_py39.py

    from fastapi import FastAPI
    from fastapi.responses import JSONResponse
    from pydantic import BaseModel
    
    
    class Item(BaseModel):
        id: str
        value: str
    
    
    class Message(BaseModel):
        message: str
    
    
    app = FastAPI()
    
    
    @app.get("/items/{item_id}", response_model=Item, responses={404: {"model": Message}})
    async def read_item(item_id: str):
        if item_id == "foo":
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 506 bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/impl/UrlFilterImplTest.java

                    .singleton("urlFilter", UrlFilterImpl.class)//
                    .singleton("dataService", DataServiceImpl.class);
            urlFilter = container.getComponent("urlFilter");
            dataHelper = container.getComponent("dataHelper");
        }
    
        public void test_addInclude1() {
            assertEquals(0, urlFilter.cachedIncludeSet.size());
            assertEquals(0, urlFilter.cachedExcludeSet.size());
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java

            };
        addCallback(f, callback, directExecutor());
      }
    
      private class CountingSameThreadExecutor implements Executor {
        int runCount = 0;
    
        @Override
        public void execute(Runnable command) {
          command.run();
          runCount++;
        }
      }
    
      private final class MockCallback implements FutureCallback<String> {
        @Nullable private String value = null;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/reflect/AbstractInvocationHandler.java

     * Object#hashCode} and {@link Object#toString}. For example:
     *
     * <pre>
     * class Unsupported extends AbstractInvocationHandler {
     *   protected Object handleInvocation(Object proxy, Method method, Object[] args) {
     *     throw new UnsupportedOperationException();
     *   }
     * }
     *
     * CharSequence unsupported = Reflection.newProxy(CharSequence.class, new Unsupported());
     * </pre>
     *
     * @author Ben Yu
     * @since 12.0
     */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/request-files.md

    * You can get metadata from the uploaded file.
    * It has a <a href="https://docs.python.org/3/glossary.html#term-file-like-object" class="external-link" target="_blank">file-like</a> `async` interface.
    * It exposes an actual Python <a href="https://docs.python.org/3/library/tempfile.html#tempfile.SpooledTemporaryFile" class="external-link" target="_blank">`SpooledTemporaryFile`</a> object that you can pass directly to other libraries that expect a file-like object.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/pac/kerberos/KerberosPacAuthDataTest.java

            try (MockedConstruction<Pac> pacMock = Mockito.mockConstruction(Pac.class, (mock, context) -> {
                // Setup mock behavior
                PacLogonInfo mockLogonInfo = Mockito.mock(PacLogonInfo.class);
                PacSignature mockServerSig = Mockito.mock(PacSignature.class);
                PacSignature mockKdcSig = Mockito.mock(PacSignature.class);
    
                Mockito.when(mock.getLogonInfo()).thenReturn(mockLogonInfo);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/beans/factory/BeanDescFactory.java

    import org.codelibs.core.beans.impl.BeanDescImpl;
    import org.codelibs.core.misc.DisposableUtil;
    
    /**
     * This class generates {@link BeanDesc}.
     * <p>
     * It returns a {@link BeanDesc} that handles the metadata of the specified JavaBeans.
     * </p>
     *
     * <pre>
     * BeanDesc beanDesc = BeanDescFactory.getBeanDesc(Foo.class);
     * </pre>
     * <p>
     * {@link BeanDesc} is cached. To clear the cache, call {@link DisposableUtil#dispose()}.
     * </p>
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/AtomicsTest.java

        }
        assertThrows(IndexOutOfBoundsException.class, () -> refArray.get(array.length));
      }
    
      public void testNewReferenceArray_withNullArray() throws Exception {
        assertThrows(NullPointerException.class, () -> Atomics.newReferenceArray(null));
      }
    
      public void testNullPointers() {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicConstructors(Atomics.class); // there aren't any
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/DuplicateHostHelper.java

    import jakarta.annotation.PostConstruct;
    
    /**
     * Helper class for managing duplicate host configurations in the Fess search system.
     * This class handles URL conversion based on duplicate host rules, allowing multiple
     * hostnames or URLs to be treated as equivalent for crawling and indexing purposes.
     * It maintains a list of DuplicateHost rules and applies them to URLs.
     *
     */
    public class DuplicateHostHelper {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 4K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/first-steps.md

    ### Confira { #check-it }
    
    Abra o seu navegador em <a href="http://127.0.0.1:8000" class="external-link" target="_blank">http://127.0.0.1:8000</a>.
    
    Você verá essa resposta em JSON:
    
    ```JSON
    {"message": "Hello World"}
    ```
    
    ### Documentação Interativa de APIs { #interactive-api-docs }
    
    Agora vá para <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs</a>.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 13.6K bytes
    - Viewed (0)
Back to top