- Sort Score
- Num 10 results
- Language All
Results 161 - 170 of 894 for both (0.02 seconds)
-
android/guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java
public Integer load(Integer from) { return (int) misses.incrementAndGet(); } }); // To start, fill up the cache. // Each miss both increments the counter and causes the map to grow by one, // so until evictions begin, the size of the map is the greatest return // value seen so far while (cache.getUnchecked(nextRandomKey()) < maximumSize) {}
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.4K bytes - Click Count (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterServiceTest.java
urlFilterService.addIncludeUrlFilter(sessionId1, "http://example.com/.*"); urlFilterService.addIncludeUrlFilter(sessionId2, "http://test.com/.*"); // Verify both are stored assertTrue(fesenClient.prepareSearch("fess_crawler.filter") .setQuery(QueryBuilders.termQuery("sessionId", sessionId1)) .setSize(0) .execute()Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Wed Jan 14 23:48:16 GMT 2026 - 11.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/witness/WitnessUnregisterMessage.java
} @Override protected void encodeWitnessParameters(NdrBuffer buf) throws NdrException { // Encode input parameters for WitnessUnregister // Context handle (20 bytes) - this is both input and output (modified) if (contextHandle != null) { buf.writeOctetArray(contextHandle, 0, Math.min(contextHandle.length, 20)); // Pad with zeros if context handle is shorter than 20 bytesCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 09:06:40 GMT 2025 - 3.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/query/TermRangeQueryCommand.java
"Unknown q: " + query.getClass() + " => " + query); } /** * Converts a TermRangeQuery to a QueryBuilder with the given boost value. * Handles both search fields and default field queries with proper range semantics. * * @param context the query context * @param termRangeQuery the term range query to convert * @param boost the boost value to apply
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 4.9K bytes - Click Count (0) -
docs/contribute/concurrency.md
Blocking APIs may be inefficient because you hold a thread idle while waiting on the network. Threads are expensive because they have both a memory overhead and a context-switching overhead. #### Framed protocols
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 06 16:35:36 GMT 2022 - 7K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt
import okio.use /** * A one-shot stream from the origin server to the client application with the raw bytes of the * response body. Each response body is supported by an active connection to the webserver. This * imposes both obligations and limits on the client application. * * ### The response body must be closed. * * Each response body is backed by a limited resource like a socket (live network responses) or
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue May 27 14:51:25 GMT 2025 - 11.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/escape/EscapersTest.java
builder.addEscape(' ', "-"); builder.addEscape('!', "$"); Escaper second = builder.build(); // This should have no effect on existing escapers. builder.addEscape(' ', "*"); // Test both escapers after modifying the builder. assertThat(first.escape("The Quick Brown Fox!")).isEqualTo("Xhe_Xuick_Xrown_XoxX"); assertThat(second.escape("The Quick Brown Fox!")).isEqualTo("Xhe-Xuick-Xrown-Xox$"); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 4.1K bytes - Click Count (0) -
android/guava/src/com/google/common/html/HtmlEscapers.java
@GwtCompatible public final class HtmlEscapers { /** * Returns an {@link Escaper} instance that escapes HTML metacharacters as specified by <a * href="http://www.w3.org/TR/html4/">HTML 4.01</a>. The resulting strings can be used both in * attribute values and in most elements' text contents, provided that the HTML * document's character encoding can encode any non-ASCII code points in the input (as UTF-8 and * other Unicode encodings can).Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 3K bytes - Click Count (0) -
src/main/webapp/WEB-INF/view/searchResults.jsp
</div> <div class="info"> <fmt:formatDate value="${fe:parseDate(doc.last_modified)}" type="BOTH" pattern="yyyy-MM-dd HH:mm" /> <c:if test="${doc.last_modified==null || doc.last_modified==''}"> <fmt:formatDate value="${fe:parseDate(doc.created)}" type="BOTH" pattern="yyyy-MM-dd HH:mm" /> </c:if> <c:if test="${doc.content_length!=null && doc.content_length!=''}">
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Feb 23 08:03:44 GMT 2026 - 12.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/tomcat/valve/SuppressErrorReportValveTest.java
} @Test public void test_constructorInitializesCorrectDefaultValues() { final SuppressErrorReportValve newValve = new SuppressErrorReportValve(); // Verify both settings are disabled by default assertFalse("ShowReport should be disabled by default", newValve.isShowReport()); assertFalse("ShowServerInfo should be disabled by default", newValve.isShowServerInfo()); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 4.6K bytes - Click Count (0)