Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2961 - 2970 of 9,145 for clase (0.03 sec)

  1. docs_src/custom_request_and_route/tutorial001_an_py310.py

    from fastapi.routing import APIRoute
    
    
    class GzipRequest(Request):
        async def body(self) -> bytes:
            if not hasattr(self, "_body"):
                body = await super().body()
                if "gzip" in self.headers.getlist("Content-Encoding"):
                    body = gzip.decompress(body)
                self._body = body
            return self._body
    
    
    class GzipRoute(APIRoute):
        def get_route_handler(self) -> Callable:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 08:55:32 UTC 2025
    - 1015 bytes
    - Viewed (0)
  2. scripts/playwright/separate_openapi_schemas/image05.py

        # Manually add the screenshot
        page.screenshot(
            path="docs/en/docs/img/tutorial/separate-openapi-schemas/image05.png"
        )
    
        # ---------------------
        context.close()
        browser.close()
    
    
    process = subprocess.Popen(
        ["uvicorn", "docs_src.separate_openapi_schemas.tutorial002:app"]
    )
    try:
        with sync_playwright() as playwright:
            run(playwright)
    finally:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Sep 13 09:14:46 UTC 2024
    - 984 bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. cmd/batch-rotate_gen.go

    		}
    		switch msgp.UnsafeString(field) {
    		case "Type":
    			{
    				var zb0002 string
    				zb0002, err = dc.ReadString()
    				if err != nil {
    					err = msgp.WrapError(err, "Type")
    					return
    				}
    				z.Type = BatchKeyRotationType(zb0002)
    			}
    		case "Key":
    			z.Key, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "Key")
    				return
    			}
    		case "Context":
    			z.Context, err = dc.ReadString()
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 27.1K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/UrlConvertHelper.java

    package org.codelibs.fess.crawler.helper;
    
    import java.util.LinkedHashMap;
    import java.util.Map;
    
    import org.codelibs.fess.crawler.exception.CrawlerSystemException;
    
    /**
     * Helper class for converting URLs based on a set of predefined rules.
     *
     * <p>This class provides functionality to convert URLs by replacing parts of the URL
     * based on a map of target strings and their corresponding replacements. It allows
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/DfsResolverTest.java

    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.smb.DfsImpl;
    import jcifs.smb.SmbTransportInternal;
    
    @ExtendWith(MockitoExtension.class)
    class DfsResolverTest {
    
        private DfsResolver dfsResolver;
    
        @Mock
        private CIFSContext mockContext;
    
        @Mock
        private Configuration mockConfig;
    
        @Mock
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/curl/CurlExceptionTest.java

    import static org.junit.Assert.assertSame;
    import static org.junit.Assert.assertTrue;
    
    import java.io.IOException;
    
    import org.junit.Test;
    
    /**
     * Test class for CurlException.
     * Tests exception creation, message handling, and cause propagation.
     */
    public class CurlExceptionTest {
    
        @Test
        public void testConstructorWithMessage() {
            String message = "Test error message";
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/escape/ArrayBasedEscaperMap.java

    import com.google.common.annotations.VisibleForTesting;
    import java.util.Map;
    
    /**
     * An implementation-specific parameter class suitable for initializing {@link
     * ArrayBasedCharEscaper} or {@link ArrayBasedUnicodeEscaper} instances. This class should be used
     * when more than one escaper is created using the same character replacement mapping to allow the
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top