- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 70 for chainG (0.03 sec)
-
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 Dec 28 09:35:17 UTC 2025 - Last Modified: Sun Nov 02 14:09:18 UTC 2025 - 25.9K bytes - Viewed (0) -
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 Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 16:11:23 UTC 2025 - 28.2K bytes - Viewed (0) -
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: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 7.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/QuantilesTest.java
* Since Quantiles provides a fluent-style API, each test covers a chain of methods resulting in * the computation of one or more quantiles (or in an error) rather than individual methods. The * tests are divided into three sections: * 1. Tests on a hardcoded dataset for chains starting with median(), quartiles(), and scale(10); * 2. Tests on hardcoded datasets include non-finite values for chains starting with scale(10);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 29.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/QuantilesTest.java
* Since Quantiles provides a fluent-style API, each test covers a chain of methods resulting in * the computation of one or more quantiles (or in an error) rather than individual methods. The * tests are divided into three sections: * 1. Tests on a hardcoded dataset for chains starting with median(), quartiles(), and scale(10); * 2. Tests on hardcoded datasets include non-finite values for chains starting with scale(10);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 29.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/normalizer/NormalizerChainTest.java
chain.add(normalizer1); chain.add(normalizer2); chain.add(normalizer3); String result = chain.normalize("test", "field"); assertEquals("test-1-2-3", result); } @Test public void test_chainWithCustomNormalizer() throws Exception { NormalizerChain chain = new NormalizerChain(); chain.add((text, field, langs) -> text.trim());Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 17 14:23:01 UTC 2025 - 4.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/api/json/SearchApiManager.java
break; case FAVORITE: processFavoriteRequest(request, response, chain); break; case FAVORITES: processFavoritesRequest(request, response, chain); break; case PING: processPingRequest(request, response, chain); break; case SCROLL:Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 55.4K bytes - Viewed (1) -
src/main/java/org/codelibs/fess/suggest/normalizer/NormalizerChain.java
* It applies each normalizer in the order they were added to the chain. * * <p>Usage example:</p> * <pre> * NormalizerChain chain = new NormalizerChain(); * chain.add(new SomeNormalizer()); * chain.add(new AnotherNormalizer()); * String normalizedText = chain.normalize("input text", "field", "en"); * </pre> * * <p>Methods:</p> * <ul>
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 17 14:23:01 UTC 2025 - 2.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/CompressionInterceptor.kt
}.joinToString(separator = ", ") override fun intercept(chain: Interceptor.Chain): Response = if (algorithms.isNotEmpty() && chain.request().header("Accept-Encoding") == null) { val request = chain .request() .newBuilder() .header("Accept-Encoding", acceptEncoding) .build() val response = chain.proceed(request) decompress(response) } else {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Oct 07 15:15:28 UTC 2025 - 2.9K bytes - Viewed (1) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt
import okhttp3.internal.skipAll import okio.buffer /** This is the last interceptor in the chain. It makes a network call to the server. */ object CallServerInterceptor : Interceptor { @Throws(IOException::class) override fun intercept(chain: Interceptor.Chain): Response { val realChain = chain as RealInterceptorChain val exchange = realChain.exchange!! val request = realChain.requestRegistered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Oct 30 13:46:58 UTC 2025 - 7.6K bytes - Viewed (0)