- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 203 for Catching (0.04 sec)
-
src/test/java/org/codelibs/fess/helper/IntervalControlHelperTest.java
// Within time range and matching day assertTrue(rule.isTarget(12, 30, 1)); // 12:30 on Sunday assertTrue(rule.isTarget(12, 30, 3)); // 12:30 on Tuesday assertTrue(rule.isTarget(12, 30, 5)); // 12:30 on Thursday // Within time range but not matching day assertFalse(rule.isTarget(12, 30, 2)); // 12:30 on Monday
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 10 13:41:04 UTC 2025 - 13.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/api/WebApiManager.java
import jakarta.servlet.http.HttpServletResponse; /** * Interface for managing web API request processing. * Implementations of this interface handle specific types of web API requests * by matching incoming requests and processing them accordingly. */ public interface WebApiManager { /** * Checks if the request matches this API manager. * @param request The HTTP servlet request.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/api/WebApiManagerTest.java
import org.codelibs.fess.unit.UnitFessTestCase; public class WebApiManagerTest extends UnitFessTestCase { public void test_matches_withPathBasedImplementation() { // Test simple path-based matching WebApiManager manager = new TestWebApiManager("/api/v1"); TestHttpServletRequest request = new TestHttpServletRequest(); request.setRequestURI("/api/v1/search");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 26.6K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/base/SplitterBenchmark.java
* * @author Paul Lindner */ @NullUnmarked public class SplitterBenchmark { // overall size of string @Param({"1", "10", "100", "1000"}) int length; // Number of matching strings @Param({"xxxx", "xxXx", "xXxX", "XXXX"}) String text; private String input; private static final Splitter CHAR_SPLITTER = Splitter.on('X');
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 1.8K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/WhitespaceMatcherBenchmark.java
String allMatchingChars = allMatchingChars(bitSet); char[] result = new char[STRING_LENGTH]; // Fill with matching chars. for (int i = 0; i < result.length; i++) { result[i] = allMatchingChars.charAt(random.nextInt(allMatchingChars.length())); } // Replace some of chars by non-matching. int remaining = (int) ((100 - percentMatching) * result.length / 100.0 + 0.5); while (remaining > 0) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 3.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt
val urlPath = url.encodedPath if (urlPath == path) { return true // As in '/foo' matching '/foo'. } if (urlPath.startsWith(path)) { if (path.endsWith("/")) return true // As in '/' matching '/foo'. if (urlPath[path.length] == '/') return true // As in '/foo' matching '/foo/bar'. } return false } /**
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 23.1K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/SplitterBenchmark.java
* * @author Paul Lindner */ @NullUnmarked public class SplitterBenchmark { // overall size of string @Param({"1", "10", "100", "1000"}) int length; // Number of matching strings @Param({"xxxx", "xxXx", "xXxX", "XXXX"}) String text; private String input; private static final Splitter CHAR_SPLITTER = Splitter.on('X');
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 1.8K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/io/ContentCache.java
* It implements the Closeable interface to ensure that resources are properly released. * * <p>This class supports two types of content caching: * <ul> * <li>In-memory caching using a byte array</li> * <li>File-based caching using a File object</li> * </ul> * * <p>When an instance of ContentCache is created with a byte array, the content is cached in memory.
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Sat Jul 05 01:38:18 UTC 2025 - 3.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/PrunedTagTest.java
assertTrue(tag.matches(divUpperNode)); } public void test_matches_withId() { PrunedTag tag = new PrunedTag("div"); tag.setId("test-id"); // Node with matching id MockNode nodeWithId = new MockNode("div"); nodeWithId.addAttribute("id", "test-id"); assertTrue(tag.matches(nodeWithId)); // Node with different id
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 21K bytes - Viewed (0) -
README.md
- Support for query parameters, headers, body (String or stream), compression, SSL configuration, proxies, and timeouts - Automatic in-memory or on-disk caching of request/response bodies - Synchronous and asynchronous (callback) execution - Minimal dependencies (only Apache Commons IO) ## Installation ### Maven
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Sat Jul 05 01:11:14 UTC 2025 - 2.5K bytes - Viewed (0)