Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 316 for chainG (0.19 sec)

  1. generics.go

    	return c.g.apply(ctx).CreateInBatches(r, batchSize).Error
    }
    
    type chainG[T any] struct {
    	execG[T]
    }
    
    func (c chainG[T]) getInstance() *DB {
    	var r T
    	return c.g.apply(context.Background()).Model(r).getInstance()
    }
    
    func (c chainG[T]) with(v op) chainG[T] {
    	return chainG[T]{
    		execG: execG[T]{g: &g[T]{
    			db:  c.g.db,
    			ops: append(append([]op(nil), c.g.ops...), v),
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/auth/AuthenticationManagerTest.java

            TestAuthenticationChain chain2 = new TestAuthenticationChain();
            TestAuthenticationChain chain3 = new TestAuthenticationChain();
    
            chain1.loadResult = user1;
            chain2.loadResult = user2;
            chain3.loadResult = user3;
    
            authenticationManager.addChain(chain1);
            authenticationManager.addChain(chain2);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt

        val interceptor1 =
          Interceptor { chainA: Interceptor.Chain ->
            assertThat(chainA.connectTimeoutMillis()).isEqualTo(5000)
            val chainB = chainA.withConnectTimeout(100, TimeUnit.MILLISECONDS)
            assertThat(chainB.connectTimeoutMillis()).isEqualTo(100)
            chainB.proceed(chainA.request())
          }
        val interceptor2 =
          Interceptor { chain: Interceptor.Chain ->
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/auth/AuthenticationManager.java

            User u = user;
            for (final AuthenticationChain chain : chains) {
                u = chain.load(u);
            }
            return u;
        }
    
        /**
         * Adds an authentication chain to the manager.
         * @param chain The authentication chain to add.
         */
        public void addChain(final AuthenticationChain chain) {
            chains = ArrayUtils.addAll(chains, chain);
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt

         *     chain.proceed(chain.request())
         * }
         * ```
         */
        inline operator fun invoke(crossinline block: (chain: Chain) -> Response): Interceptor = Interceptor { block(it) }
      }
    
      interface Chain {
        fun request(): Request
    
        @Throws(IOException::class)
        fun proceed(request: Request): Response
    
        /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt

          }
        }
      }
    
      /**
       * Not checking the CA bit created a vulnerability in old OkHttp releases. It is exploited by
       * triggering different chains to be discovered by the TLS engine and our chain cleaner. In this
       * attack there's several different chains.
       *
       *
       * The victim's gets a non-CA certificate signed by a CA, and pins the CA root and/or
       * intermediate. This is business as usual.
       *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 24.3K bytes
    - Viewed (1)
  7. guava/src/com/google/common/collect/ComparisonChain.java

       * already been determined.
       */
      public abstract <T extends @Nullable Object> ComparisonChain compare(
          @ParametricNullness T left, @ParametricNullness T right, Comparator<T> comparator);
    
      /**
       * Compares two {@code int} values as specified by {@link Integer#compare}, <i>if</i> the result
       * of this comparison chain has not already been determined.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  8. docs/features/interceptors.md

    class LoggingInterceptor implements Interceptor {
      @Override public Response intercept(Interceptor.Chain chain) throws IOException {
        Request request = chain.request();
    
        long t1 = System.nanoTime();
        logger.info(String.format("Sending request %s on %s%n%s",
            request.url(), chain.connection(), request.headers()));
    
        Response response = chain.proceed(request);
    
        long t2 = System.nanoTime();
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/query/QueryProcessor.java

            FilterChain chain = createDefaultFilterChain();
            for (final Filter element : filterList) {
                chain = appendFilterChain(element, chain);
            }
            filterChain = chain;
        }
    
        /**
         * Appends a filter to an existing filter chain.
         *
         * @param filter the filter to append
         * @param chain the existing filter chain to append to
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

            this.mid = mid;
        }
    
        /**
         * Chains another message to this message for compound operations.
         *
         * @param n the message to chain
         * @return whether chaining was successful
         */
        public boolean chain(final ServerMessageBlock2 n) {
            if (this.next != null) {
                return this.next.chain(n);
            }
    
            n.addFlags(SMB2_FLAGS_RELATED_OPERATIONS);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
Back to top