- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 1,622 for Contains (0.04 sec)
-
guava-tests/test/com/google/common/primitives/BooleansTest.java
} } } public void testContains() { assertThat(Booleans.contains(EMPTY, false)).isFalse(); assertThat(Booleans.contains(ARRAY_FALSE, true)).isFalse(); assertThat(Booleans.contains(ARRAY_FALSE, false)).isTrue(); assertThat(Booleans.contains(ARRAY_FALSE_TRUE, false)).isTrue(); assertThat(Booleans.contains(ARRAY_FALSE_TRUE, true)).isTrue(); } public void testIndexOf() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/StringUtil.java
} /** * Returns true if the string contains the specified substring. * * @param s1 * the string to check * @param s2 * the substring to find * @return true if the string contains the substring, false otherwise */ public static boolean contains(final String s1, final String s2) { if (isEmpty(s1)) {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 21.9K bytes - Viewed (0) -
statement.go
} if len(args) == 0 || (len(args) > 0 && strings.Contains(s, "?")) { // looks like a where condition return []clause.Expression{clause.Expr{SQL: s, Vars: args}} } if len(args) > 0 && strings.Contains(s, "@") { // looks like a named query return []clause.Expression{clause.NamedExpr{SQL: s, Vars: args}} } if strings.Contains(strings.TrimSpace(s), " ") { // looks like a where condition
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Sep 04 13:13:16 UTC 2025 - 20.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/QueryParseExceptionTest.java
String toStringResult = queryParseException.toString(); assertNotNull(toStringResult); assertTrue(toStringResult.contains("QueryParseException")); assertTrue(toStringResult.contains("ParseException")); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/util/SimpleCircuitBreakerTest.java
SimpleCircuitBreaker.Statistics stats = circuitBreaker.getStatistics(); String str = stats.toString(); assertNotNull(str); assertTrue(str.contains("test")); assertTrue(str.contains("CLOSED")); assertTrue(str.contains("100.00%")); } @Test @DisplayName("Test mixed success and failure pattern") void testMixedPattern() throws Exception { // Success
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java
assertTrue(entries.contains(immutableEntry("a", true))); assertTrue(entries.contains(Maps.<String, @Nullable Boolean>immutableEntry("b", null))); assertTrue( entries.contains(Maps.<@Nullable String, @Nullable Boolean>immutableEntry(null, null))); assertFalse(entries.contains(Maps.<String, @Nullable Boolean>immutableEntry("c", null)));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/FuzzyQueryCommandTest.java
assertTrue(result instanceof FuzzyQueryBuilder); FuzzyQueryBuilder fuzzyQueryBuilder = (FuzzyQueryBuilder) result; assertTrue(fuzzyQueryBuilder.toString().contains("\"title\"")); assertTrue(fuzzyQueryBuilder.toString().contains("\"fuzzy\"")); } // Test convertFuzzyQuery with non-search field public void test_convertFuzzyQuery_withNonSearchField() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.7K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlRequestTest.java
request.param("key", "value"); try { request.encoding("ISO-8859-1"); fail("Expected CurlException"); } catch (CurlException e) { assertTrue(e.getMessage().contains("must be called before param method")); } } @Test public void testThresholdMethod() { CurlRequest request = new CurlRequest(Method.GET, "https://example.com");
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Thu Jul 31 01:01:12 UTC 2025 - 8.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/witness/WitnessIntegrationTest.java
String serviceAddr = mockService.getServiceAddress(); assertNotNull(serviceAddr); assertTrue(serviceAddr.startsWith("ncacn_ip_tcp:")); assertTrue(serviceAddr.contains("[")); assertTrue(serviceAddr.contains("]")); } /** * Integration test that would require a real cluster environment. * Disabled by default - enable with -Dwitness.integration.test=true */ @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java
String result = smbInfoAllocation.toString(); // Verify string contains expected values assertTrue(result.contains("SmbInfoAllocation")); assertTrue(result.contains("alloc=" + alloc)); assertTrue(result.contains("free=" + free)); assertTrue(result.contains("sectPerAlloc=" + sectPerAlloc)); assertTrue(result.contains("bytesPerSect=" + bytesPerSect)); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0)