- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 158 for chain (0.03 sec)
-
android/guava-tests/benchmark/com/google/common/cache/ChainBenchmark.java
// held chain = segment.newEntry(key, cache.hash(key), chain); if (i == 0) { head = chain; } } } @SuppressWarnings("GuardedBy") @Benchmark int time(int reps) { int dummy = 0; for (int i = 0; i < reps; i++) { // TODO(b/145386688): This access should be guarded by 'this.segment', which is not currently
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 17 15:19:38 UTC 2023 - 2.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/parser/QueryParser.java
protected void createFilterChain() { FilterChain chain = createDefaultFilterChain(); for (final Filter element : filterList) { chain = appendFilterChain(element, chain); } filterChain = chain; } protected FilterChain appendFilterChain(final Filter filter, final FilterChain chain) { return query -> filter.parse(query, chain); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 5.6K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/LoggingInterceptors.java
@Override public Response intercept(Chain chain) throws IOException { long t1 = System.nanoTime(); Request request = chain.request(); 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 Nov 01 11:42:11 UTC 2024 - Last Modified: Fri Jan 01 15:55:32 UTC 2016 - 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; } protected FilterChain appendFilterChain(final Filter filter, final FilterChain chain) { return (context, query, boost) -> filter.execute(context, query, boost, chain); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 3.3K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/CurrentDateHeader.java
@Override public Response intercept(Chain chain) throws IOException { Request request = chain.request(); Headers newHeaders = request.headers() .newBuilder() .add("Date", new Date()) .build(); Request newRequest = request.newBuilder() .headers(newHeaders) .build(); return chain.proceed(newRequest); } }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Oct 31 15:32:50 UTC 2018 - 1.8K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/PreemptiveAuth.java
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Nov 05 07:46:46 UTC 2018 - 2.1K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/TlsUtil.kt
chain[0] = heldCertificate.certificate intermediates.copyInto(chain, 1) keyStore.setKeyEntry("private", heldCertificate.keyPair.private, password, chain) } val factory = KeyManagerFactory.getInstance(KeyManagerFactory.getDefaultAlgorithm()) factory.init(keyStore, password) val result = factory.keyManagers!! check(result.size == 1 && result[0] is X509KeyManager) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/tls/CertificateChainCleaner.kt
import okhttp3.internal.platform.Platform /** * Computes the effective certificate chain from the raw array returned by Java's built in TLS APIs. * Cleaning a chain returns a list of certificates where the first element is `chain[0]`, each * certificate is signed by the certificate that follows, and the last certificate is a trusted CA * certificate. * * Use of the chain cleaner is necessary to omit unexpected certificates that aren't relevant to
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/RewriteResponseCacheControl.java
public final class RewriteResponseCacheControl { /** Dangerous interceptor that rewrites the server's cache-control header. */ private static final Interceptor REWRITE_CACHE_CONTROL_INTERCEPTOR = chain -> { Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .header("Cache-Control", "max-age=60") .build(); }; private final OkHttpClient client;
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 12 03:31:36 UTC 2019 - 2.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequest.java
} /** * {@inheritDoc} * * @see jcifs.internal.smb2.ServerMessageBlock2#chain(jcifs.internal.smb2.ServerMessageBlock2) */ @Override public boolean chain ( ServerMessageBlock2 n ) { n.setTreeId(Smb2Constants.UNSPECIFIED_TREEID); return super.chain(n); } /** * {@inheritDoc} *
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.2K bytes - Viewed (0)