Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1591 - 1600 of 2,310 for Contains (0.09 seconds)

  1. 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
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Sep 12 04:33:27 GMT 2025
    - 20.9K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/helper/CrawlerStatsHelperTest.java

            crawlerStatsHelper.record(key, "action\twith\ttabs");
            crawlerStatsHelper.done(key);
    
            String logMessage = localLogMsg.get();
            assertTrue(logMessage.contains("action with tabs:"));
            assertFalse(logMessage.contains("action\twith\ttabs:"));
        }
    
        @Test
        public void test_unsupportedKeyType() {
            Object key = new Object();
            crawlerStatsHelper.begin(key);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 15.3K bytes
    - Click Count (0)
  3. internal/event/config.go

    	for segment := range strings.SplitSeq(value, "/") {
    		if segment == "." || segment == ".." {
    			return &ErrInvalidFilterValue{value}
    		}
    	}
    
    	if len(value) <= 1024 && utf8.ValidString(value) && !strings.Contains(value, `\`) {
    		return nil
    	}
    
    	return &ErrInvalidFilterValue{value}
    }
    
    // FilterRule - represents elements inside <FilterRule>...</FilterRule>
    type FilterRule struct {
    	Name  string `xml:"Name"`
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/GAVUtilsTest.java

                Set<Coordinates> gavs = InferenceStrategy.computeAllArtifactCoordinates(context, pomMap);
    
                assertEquals(2, gavs.size());
                assertTrue(gavs.contains(Coordinates.of("com.example", "parent-project", "1.0.0")));
                assertTrue(gavs.contains(Coordinates.of("com.example", "child-project", "1.0.0")));
            }
    
            @Test
            @DisplayName("should handle empty POM map")
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 17.3K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/DependenciesInfoTask.java

                    .filter(file -> {
                        String prefix = file.getName().split("-" + infoFileSuffix + ".*")[0];
                        return group.contains(prefix) || name.contains(prefix);
                    })
                    .findFirst()
                : java.util.Optional.empty();
    
            return license.orElseThrow(
                () -> new IllegalStateException(
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 8.6K bytes
    - Click Count (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/UpgradePropertiesRulePostProcess.java

            Map<AccessorKey, ReplacedAccessor> keptAccessors = new HashMap<>(oldAccessorsOfUpgradedProperties);
            keptAccessors.entrySet().removeIf(e -> {
                if (seenUpgradedAccessorsChanges.contains(e.getKey())) {
                    return true;
                }
                ReplacedAccessor accessor = e.getValue();
                return accessor.getBinaryCompatibility() == BinaryCompatibility.ACCESSORS_KEPT;
            });
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Aug 19 15:30:48 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/io/TestInputStream.java

        throwIf(closed);
        return options.contains(TestOption.AVAILABLE_ALWAYS_ZERO) ? 0 : in.available();
      }
    
      @Override
      public void close() throws IOException {
        closed = true;
        throwIf(CLOSE_THROWS);
        in.close();
      }
    
      private void throwIf(TestOption option) throws IOException {
        throwIf(options.contains(option));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java

            assertTrue(result.startsWith("Trans2QueryPathInformation["), "String should start with the class name.");
            assertTrue(result.contains("informationLevel=0x101"), "String should contain the correct information level.");
            assertTrue(result.contains("filename=test.txt"), "String should contain the correct filename.");
            assertTrue(result.endsWith("]"), "String should end with a closing bracket.");
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/curl/CurlExceptionTest.java

            CurlException exception = new CurlException(message);
            String toString = exception.toString();
    
            assertNotNull(toString);
            assertTrue(toString.contains("CurlException"));
            assertTrue(toString.contains(message));
        }
    
        @Test
        public void testStackTrace() {
            CurlException exception = new CurlException("Test message");
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Thu Jul 31 01:01:12 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/execution/ReactorManager.java

            return failureBehavior;
        }
    
        public void blackList(MavenProject project) {
            blackList(getProjectKey(project));
        }
    
        private void blackList(String id) {
            if (!blackList.contains(id)) {
                blackList.add(id);
    
                List<String> dependents = sorter.getDependents(id);
    
                if (dependents != null && !dependents.isEmpty()) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Dec 12 11:02:17 GMT 2024
    - 6K bytes
    - Click Count (0)
Back to Top