Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 182 for endswith (0.04 sec)

  1. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

                assertTrue(result.contains("ttl=600"));
                assertTrue(result.contains("expiration=" + expiration));
                assertTrue(result.contains("remain="));
                assertTrue(result.endsWith("]"));
            }
    
            @Test
            @DisplayName("Should handle null values in toString")
            void testToStringWithNulls() {
                String result = referralData.toString();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

            String newPath = path.replace(".", "\\.").replace("?", "\\?").replace("*", ".*");
            if (newPath.charAt(0) != '/') {
                newPath = ".*" + newPath;
            }
            if (!newPath.endsWith("$") && !newPath.endsWith(".*")) {
                newPath = newPath + ".*";
            }
            return newPath.replace(".*.*", ".*");
        }
    
        /*
         * (non-Javadoc)
         *
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 52.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

            dataMap.putAll(responseDataMap);
            dataMap.keySet()
                    .stream()
                    .filter(key -> key.endsWith(".overwrite")) //
                    .collect(Collectors.toList())
                    .forEach(key -> {
                        final String baseKey = key.substring(0, key.length() - ".overwrite".length());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 28.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/util/ComponentUtil.java

         * Gets a job executor by name.
         * @param name The name of the job executor.
         * @return The job executor instance.
         */
        public static JobExecutor getJobExecutor(final String name) {
            if (name.endsWith(JOB_EXECUTOR_SUFFIX)) {
                return getComponent(name);
            }
            return getComponent("script" + JOB_EXECUTOR_SUFFIX);
        }
    
        /**
         * Gets the file type helper component.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 28.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/net/MediaTypeTest.java

      public void testConstants_charset() throws Exception {
        for (Field field : getConstantFields()) {
          Optional<Charset> charset = ((MediaType) field.get(null)).charset();
          if (field.getName().endsWith("_UTF_8")) {
            assertThat(charset).hasValue(UTF_8);
          } else {
            assertThat(charset).isAbsent();
          }
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                }
                if (b > 0xFF) {
                    return doNameQuery(name, svr);
                }
                IP = (IP << 8) + b;
                hitDots++;
            }
            if (hitDots != 4 || host.endsWith(".")) {
                return doNameQuery(name, svr);
            }
            return new NbtAddress(getUnknownName(), IP, false, NbtAddress.B_NODE);
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/dfs/ReferralTest.java

            // Check that paths and node are present
            assertTrue(result.contains("path="));
            assertTrue(result.contains("altPath="));
            assertTrue(result.contains("node="));
            assertTrue(result.endsWith("]"));
        }
    
        @Test
        public void testToStringWithNulls() {
            // Create minimal referral
            ByteBuffer bb = ByteBuffer.wrap(testBuffer).order(ByteOrder.LITTLE_ENDIAN);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 22K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/net/InternetDomainName.java

        // Normalize:
        // * ASCII characters to lowercase
        // * All dot-like characters to '.'
        // * Strip trailing '.'
    
        name = Ascii.toLowerCase(DOTS_MATCHER.replaceFrom(name, '.'));
    
        if (name.endsWith(".")) {
          name = name.substring(0, name.length() - 1);
        }
    
        checkArgument(name.length() <= MAX_LENGTH, "Domain name too long: '%s':", name);
        this.name = name;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.9K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

         * @return the request data with the duplicate URL
         */
        protected RequestData getDuplicateUrl(final RequestData requestData) {
            final String url = requestData.getUrl();
            if (url.endsWith("/")) {
                requestData.setUrl(url.substring(0, url.length() - 1));
            } else {
                requestData.setUrl(url + "/");
            }
            return requestData;
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 28.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

                final Path basePath = baseDir.toPath();
                final String suffix = "." + imageExtention;
                try (Stream<Path> paths = Files.walk(basePath)) {
                    paths.filter(path -> path.toFile().getName().endsWith(imageExtention)).forEach(path -> {
                        final Path subPath = basePath.relativize(path);
                        final String docId = subPath.toString().replace("/", StringUtil.EMPTY).replace(suffix, StringUtil.EMPTY);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.9K bytes
    - Viewed (0)
Back to top