Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2591 - 2600 of 7,602 for _class (0.05 sec)

  1. tests/test_generic_parameterless_depends.py

    from fastapi import Depends, FastAPI
    from fastapi.testclient import TestClient
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    T = TypeVar("T")
    
    Dep = Annotated[T, Depends()]
    
    
    class A:
        pass
    
    
    class B:
        pass
    
    
    @app.get("/a")
    async def a(dep: Dep[A]):
        return {"cls": dep.__class__.__name__}
    
    
    @app.get("/b")
    async def b(dep: Dep[B]):
        return {"cls": dep.__class__.__name__}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Apr 02 02:52:56 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/ntlm/NTLMSchemeProvider.java

    import org.apache.http.auth.AuthSchemeProvider;
    import org.apache.http.impl.auth.NTLMScheme;
    import org.apache.http.protocol.HttpContext;
    
    /**
     * This class is AuthSchemeFactory implementation for NTLM.
     *
     * @author shinsuke
     *
     */
    public class NTLMSchemeProvider implements AuthSchemeProvider {
    
        @Override
        public AuthScheme create(final HttpContext context) {
            return new NTLMScheme(new SmbjEngine());
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

    import com.google.common.cache.CacheLoader;
    import com.google.common.cache.LoadingCache;
    
    import jakarta.servlet.http.HttpServletRequest;
    
    public class FessFunctions {
        private static final Logger logger = LogManager.getLogger(FessFunctions.class);
    
        private static final String GEO_PREFIX = "geo.";
    
        private static final String FACET_PREFIX = "facet.";
    
        private static final String PDF_DATE = "pdf_date";
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/DfsImpl.java

    import jcifs.internal.dfs.DfsReferralDataInternal;
    
    
    /**
     * Caching DFS resolver implementation
     * 
     * @internal
     */
    public class DfsImpl implements DfsResolver {
    
        private static final DfsReferralDataImpl NEGATIVE_ENTRY = new DfsReferralDataImpl();
    
        private static class CacheEntry <T> {
    
            long expiration;
            Map<String, T> map;
    
    
            CacheEntry ( long ttl ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:07:29 UTC 2023
    - 29.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/config/exentity/AccessToken.java

    package org.codelibs.fess.es.config.exentity;
    
    import java.util.Arrays;
    import java.util.Date;
    
    import org.codelibs.fess.es.config.bsentity.BsAccessToken;
    
    /**
     * @author ESFlute (using FreeGen)
     */
    public class AccessToken extends BsAccessToken {
    
        private static final long serialVersionUID = 1L;
    
        public String getId() {
            return asDocMeta().id();
        }
    
        public void setId(final String id) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/log/allcommon/EsSqlClause.java

     */
    package org.codelibs.fess.es.log.allcommon;
    
    import org.dbflute.cbean.sqlclause.AbstractSqlClause;
    import org.dbflute.dbway.DBWay;
    
    /**
     * @author ESFlute (using FreeGen)
     */
    public class EsSqlClause extends AbstractSqlClause {
    
        private static final long serialVersionUID = 1L;
    
        public EsSqlClause(String tableDbName) {
            super(tableDbName);
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/util/RenderDataUtil.java

    import java.util.List;
    import java.util.stream.Collectors;
    
    import org.codelibs.core.beans.util.BeanUtil;
    import org.dbflute.Entity;
    import org.lastaflute.web.response.render.RenderData;
    
    public class RenderDataUtil {
    
        public static void register(final RenderData data, final String key, final Object value) {
            if (value == null) {
                return;
            }
    
            if (value instanceof Entity) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/user/allcommon/EsSqlClause.java

     */
    package org.codelibs.fess.es.user.allcommon;
    
    import org.dbflute.cbean.sqlclause.AbstractSqlClause;
    import org.dbflute.dbway.DBWay;
    
    /**
     * @author ESFlute (using FreeGen)
     */
    public class EsSqlClause extends AbstractSqlClause {
    
        private static final long serialVersionUID = 1L;
    
        public EsSqlClause(String tableDbName) {
            super(tableDbName);
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectInterceptor.kt

     * be used for the returned response, or to validate a cached response with a conditional GET.
     */
    object ConnectInterceptor : Interceptor {
      @Throws(IOException::class)
      override fun intercept(chain: Interceptor.Chain): Response {
        val realChain = chain as RealInterceptorChain
        val exchange = realChain.call.initExchange(realChain)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/cors/DefaultCorsHandler.java

    import org.codelibs.fess.util.ComponentUtil;
    
    import jakarta.annotation.PostConstruct;
    import jakarta.servlet.ServletRequest;
    import jakarta.servlet.ServletResponse;
    import jakarta.servlet.http.HttpServletResponse;
    
    public class DefaultCorsHandler extends CorsHandler {
    
        @PostConstruct
        public void register() {
            final CorsHandlerFactory factory = ComponentUtil.getCorsHandlerFactory();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top