Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 182 for endswith (0.05 sec)

  1. src/test/java/org/codelibs/fess/helper/PluginHelperTest.java

                    return new String[] { "plugin/repo1/", "plugin/repo2/" };
                }
    
                @Override
                protected String getRepositoryContent(String url) {
                    if (url.endsWith("/")) {
                        url = url + "index.html";
                    }
                    if (url.contains("plugin/repo1")) {
                        try (InputStream is = ResourceUtil.getResourceAsStream(url)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java

            assertTrue(result.contains("converter=100"));
            assertTrue(result.contains("entriesReturned=2"));
            assertTrue(result.contains("totalAvailableEntries=5"));
            assertTrue(result.endsWith("]"));
        }
    
        @Test
        @DisplayName("Test readString with ASCII encoding")
        void testReadStringAscii() throws Exception {
            String testString = "TestString";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

            if (value == null) {
                return null;
            }
            try {
                return Integer.parseInt(value);
            } catch (final NumberFormatException e) {
                if (value.endsWith("%") || value.endsWith("px")) {
                    return null;
                }
                return 0;
            }
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 54.4K bytes
    - Viewed (0)
  4. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

        }
    
        private static Restriction parseRestriction(String spec) throws InvalidVersionSpecificationException {
            boolean lowerBoundInclusive = spec.startsWith("[");
            boolean upperBoundInclusive = spec.endsWith("]");
    
            String process = spec.substring(1, spec.length() - 1).trim();
    
            Restriction restriction;
    
            int index = process.indexOf(',');
    
            if (index < 0) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 19K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

            // title
            if (!hasTitle(dataMap)) {
                final String titleField = fessConfig.getIndexFieldTitle();
                dataMap.remove(titleField);
                if (url.endsWith("/")) {
                    if (StringUtil.isNotBlank(content)) {
                        putResultDataBody(dataMap, titleField, documentHelper.getDigest(responseData, body, dataMap,
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

           * used in other tests.
           */
    
          String expectedName = Ascii.toLowerCase(inputName);
          expectedName = expectedName.replaceAll("[\u3002\uFF0E\uFF61]", ".");
    
          if (expectedName.endsWith(".")) {
            expectedName = expectedName.substring(0, expectedName.length() - 1);
          }
    
          assertEquals(expectedName, domain.toString());
        }
      }
    
      public void testPublicSuffixExclusion() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbSession.java

                if (response != null && response.received) {
                    return;
                }
    
                if (request instanceof final SmbComTreeConnectAndX tcax) {
                    if (netbiosName != null && tcax.path.endsWith("\\IPC$")) {
                        /* Some pipes may require that the hostname in the tree connect
                         * be the netbios name. So if we have the netbios server name
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/SmbResourceTest.java

                // When
                String name = mockResource.getName();
    
                // Then
                assertEquals(expectedName, name, "Directory name should include trailing slash");
                assertTrue(name.endsWith("/"), "Directory name should end with slash");
            }
        }
    
        @Nested
        @DisplayName("Resource Type Tests")
        class ResourceTypeTests {
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            assertTrue(file.getPath().endsWith("/shared/path/file.txt"), "Path should end correctly");
            assertEquals("shared", file.getShare(), "Share should be extracted correctly");
            assertNotNull(file.getParent(), "Parent should not be null");
            assertTrue(file.getParent().endsWith("/shared/path/"), "Parent path should be correct");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/lang/StringUtil.java

            if (text == null) {
                return null;
            }
            if (suffix == null) {
                return text;
            }
            if (text.endsWith(suffix)) {
                return text.substring(0, text.length() - suffix.length());
            }
            return text;
        }
    
        /**
         * Removes the prefix from the string if it is present.
         *
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 21.9K bytes
    - Viewed (0)
Back to top