Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 1,956 for Contains (0.05 sec)

  1. compat/maven-model/src/test/java/org/apache/maven/model/merge/MavenMergerTest.java

            assertEquals(1, merged.getContributors().size(), "Expected exactly 1 contributor");
            assertTrue(
                    merged.getContributors().contains(contributor),
                    "Expected contributors to contain " + contributor + " but was " + merged.getContributors());
        }
    
        @Test
        void mergeSameDependencies() {
            Dependency dependency = Dependency.newBuilder()
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

                    if ((exceptionMessage == null || exceptionMessage.isEmpty())
                            || longMessage.contains(exceptionMessage)) {
                        exceptionMessage = longMessage;
                    } else if (!exceptionMessage.contains(longMessage)) {
                        exceptionMessage = join(exceptionMessage, System.lineSeparator() + longMessage);
                    }
                }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  3. logger/slog_test.go

    	logger.Trace(context.Background(), time.Now(), func() (string, int64) {
    		return "select count(*) from users", 0
    	}, nil)
    
    	if strings.Contains(buf.String(), "gorm/logger/slog.go") {
    		t.Error("Found internal slog.go reference in caller frame. Expected only test file references.")
    	}
    
    	if !strings.Contains(buf.String(), "gorm/logger/slog_test.go") {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Thu Oct 30 10:56:26 UTC 2025
    - 782 bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

        cache.put(20, 22);
        cache.put(5, 10);
    
        fakeTicker.advance(501, MILLISECONDS);
    
        assertThat(cache.asMap().values().contains(22)).isTrue();
        assertThat(cache.asMap().values().contains(10)).isTrue();
        assertThat(cache.asMap().values().contains(20)).isFalse();
      }
    
      @Test
      public void asMapKeySet() {
        Cache<Integer, Integer> cache =
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java

            String str = cmd.toString();
            assertTrue(str.startsWith("SmbComQueryInformation"), "String representation must start with class name");
            assertTrue(str.contains("filename=testfile.txt"), "toString must contain the supplied filename");
        }
    
        @Test
        @DisplayName("writeBytesWireFormat with null path returns minimal bytes")
        void testWriteWhenPathIsNull() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/curl/CurlResponseTest.java

            } catch (CurlException e) {
                assertTrue(e.getMessage().contains("Failed to access the content"));
                // The cause should be another CurlException from getContentAsStream()
                assertTrue(e.getCause() instanceof CurlException);
                CurlException innerException = (CurlException) e.getCause();
                assertTrue(innerException.getMessage().contains("The content does not exist"));
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/ArchetypeGraph.java

       */
      int outDegree(N node);
    
      /**
       * Returns true if there is an edge that directly connects {@code nodeU} to {@code nodeV}. This is
       * equivalent to {@code nodes().contains(nodeU) && successors(nodeU).contains(nodeV)}.
       *
       * <p>In an undirected graph, this is equal to {@code hasEdgeConnecting(nodeV, nodeU)}.
       *
       * @since 23.0
       */
      boolean hasEdgeConnecting(N nodeU, N nodeV);
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Nov 11 17:11:16 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  8. 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: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  9. 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 Dec 28 09:35:17 UTC 2025
    - Last Modified: Fri Sep 12 04:33:27 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/compression/CompressionNegotiateContextTest.java

        public void testToString() {
            String str = context.toString();
            assertNotNull(str);
            assertTrue(str.contains("CompressionNegotiateContext"));
            assertTrue(str.contains("LZ77"));
            assertTrue(str.contains("LZNT1"));
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.6K bytes
    - Viewed (0)
Back to top