Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 1,622 for Contains (0.03 sec)

  1. src/main/java/jcifs/util/ServerResponseValidator.java

            }
    
            // Check for directory traversal
            if (path.contains("..") || path.contains("./") || path.contains(".\\")) {
                failedValidations.incrementAndGet();
                log.warn("Path contains traversal sequences: {}", sanitizeForLog(path));
                throw new SmbException("Path contains directory traversal");
            }
    
            // Check individual components
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  2. android/guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java

                  + "equal to the hash (2) of TestObject{group=1, item=2} [group 1, item 2]";
          if (!expected.getMessage().contains(expectedMessage)) {
            fail("<" + expected.getMessage() + "> expected to contain <" + expectedMessage + ">");
          }
          return;
        }
        fail();
      }
    
      /** An object with a friendly {@link #toString()}. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Dec 27 16:19:35 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java

                  + "equal to the hash (2) of TestObject{group=1, item=2} [group 1, item 2]";
          if (!expected.getMessage().contains(expectedMessage)) {
            fail("<" + expected.getMessage() + "> expected to contain <" + expectedMessage + ">");
          }
          return;
        }
        fail();
      }
    
      /** An object with a friendly {@link #toString()}. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Dec 27 16:19:35 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/netbios/NameTest.java

            Name name = new Name(mockConfig, "TEST", 0x20, "scope.com");
            String result = name.toString();
    
            assertTrue(result.contains("TEST"));
            assertTrue(result.contains("<20>"));
            assertTrue(result.contains("scope.com"));
        }
    
        @Test
        void toString_withNullName_shouldHandleGracefully() {
            Name name = new Name(mockConfig, "TEST", 0x20, null);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java

        }
    
        /**
         * Checks if the given input stream contains valid sitemap data.
         * @param in the input stream to validate
         * @return true if the stream contains valid sitemap data, false otherwise
         */
        public boolean isValid(final InputStream in) {
            return isValid(in, true);
        }
    
        /**
         * Checks if the given input stream contains valid sitemap data.
         * @param in the input stream to validate
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Multiset.java

      /**
       * Determines whether this multiset contains the specified element.
       *
       * <p>This method refines {@link Collection#contains} to further specify that it <b>may not</b>
       * throw an exception in response to {@code element} being null or of the wrong type.
       *
       * @param element the element to check for
       * @return {@code true} if this multiset contains at least one occurrence of the element
       */
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java

            String toStringResult = exception.toString();
            assertTrue(toStringResult.contains(InvalidAccessTokenException.class.getName()));
            assertTrue(toStringResult.contains(message));
        }
    
        public void test_variousTokenTypes() {
            // Test with various common token types
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

                assertFalse("Command should not contain ${url}", cmd.contains("${url}"));
                assertFalse("Command should not contain ${outputFile}", cmd.contains("${outputFile}"));
                assertTrue("Command should contain temp path", cmd.contains(tempPath));
                assertTrue("Command should contain output path", cmd.contains(outputPath));
            }
        }
    
        // Test timeout scenarios
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

            assertNotNull(bulkLine);
            assertTrue(bulkLine.contains("test_index"));
            assertTrue(bulkLine.contains("_doc"));
            assertTrue(bulkLine.contains("test text"));
            assertTrue(bulkLine.contains("reading1"));
            assertTrue(bulkLine.contains("reading2"));
        }
    
        @Test(expected = SuggesterException.class)
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

          assertTrue(map.containsKey(key));
          assertTrue(map.containsValue(value));
          assertTrue(valueCollection.contains(value));
          assertTrue(valueCollection.containsAll(singleton(value)));
          assertTrue(entrySet.contains(mapEntry(key, value)));
          assertTrue(allowsNullKeys || (key != null));
        }
        assertEquals(expectedKeySetHash, keySet.hashCode());
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 43.9K bytes
    - Viewed (0)
Back to top