Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 8 of 8 for targetFile (0.13 seconds)

  1. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

            try {
                Path targetFile = tempDir.resolve("target.tmp");
                Files.createFile(targetFile);
    
                // First delete succeeds
                assertTrue(Files.deleteIfExists(targetFile));
    
                // Second delete returns false (file already gone)
                assertFalse(Files.deleteIfExists(targetFile));
            } finally {
                deleteDirectory(tempDir.toFile());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 20.4K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

            final File baseDir = new File(getServletContext().getRealPath("/"));
            final File targetFile = new File(getServletContext().getRealPath(fileName));
            final List<File> fileList = getAccessibleFileList(baseDir);
            for (final File file : fileList) {
                if (targetFile.equals(file)) {
                    return OptionalEntity.of(targetFile);
                }
            }
            return OptionalEntity.empty();
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 23 23:57:26 GMT 2026
    - 20.1K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            SmbFile srcForCopy = new SmbFile(baseUrl + "shared/" + sourceFileName, renameContext);
            SmbFile targetFile = new SmbFile(baseUrl + "shared/" + targetFileName, renameContext);
    
            // Copy content to new file
            srcForCopy.copyTo(targetFile);
            srcForCopy.close();
            targetFile.close();
    
            // Wait before delete
            Thread.sleep(500);
            System.gc();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 56K bytes
    - Click Count (0)
  4. buildscripts/checkdeps.sh

    ## readlink() {
    ##     return /bin/readlink -f "$1"
    ## }
    ##
    readlink() {
    	TARGET_FILE=$1
    
    	cd $(dirname $TARGET_FILE)
    	TARGET_FILE=$(basename $TARGET_FILE)
    
    	# Iterate down a (possible) chain of symlinks
    	while [ -L "$TARGET_FILE" ]; do
    		TARGET_FILE=$(env readlink $TARGET_FILE)
    		cd $(dirname $TARGET_FILE)
    		TARGET_FILE=$(basename $TARGET_FILE)
    	done
    
    	# Compute the canonicalized name by finding the physical path
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Jun 08 16:12:05 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  5. src/main/assemblies/files/generate-thumbnail

      check_command rsvg-convert
      target_file=$(echo "$url" | sed -e "s#^file:/*#/#g")
      rsvg-convert -w 100 -h 100 --keep-aspect-ratio "${target_file}" -o "${output_file}"
    elif [[ x"${cmd_type}" = "ximage" ]] ; then
      im_cmd=$(get_imagemagick_cmd)
      if [[ -z "${im_cmd}" ]] ; then
        echo "ImageMagick (convert or magick) does not exist."
        exit 1
      fi
      target_file=$(echo "$url" | sed -e "s#^file:/*#/#g")
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 04 08:02:36 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/opensearch/config/bsentity/dbmeta/BadWordDbm.java

                false, false, "keyword", 0, 0, null, null, false, null, null, null, null, null, false);
        protected final ColumnInfo _columnTargetRole = cci("targetRole", "targetRole", null, null, String.class, "targetRole", null, false,
                false, false, "keyword", 0, 0, null, null, false, null, null, null, null, null, false);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 27 07:01:25 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/service/JobLogService.java

         */
        public void deleteBefore(final int days) {
            final long oneday = 24 * 60 * 60 * 1000L;
            final long targetTime = ComponentUtil.getSystemHelper().getCurrentTimeAsLong() - days * oneday;
            jobLogBhv.queryDelete(cb -> {
                cb.query().setEndTime_LessThan(targetTime);
            });
        }
    
        /**
         * Deletes job logs that have any of the specified job statuses.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  8. cmd/object-handlers.go

    			}
    		}
    
    		// Calculate the size of the target object
    		var targetSize int64
    
    		switch {
    		case isDstCompressed:
    			targetSize = -1
    		case !isSourceEncrypted && !isTargetEncrypted:
    			targetSize, _ = srcInfo.GetActualSize()
    		case isSourceEncrypted && isTargetEncrypted:
    			objInfo := ObjectInfo{Size: actualSize}
    			targetSize = objInfo.EncryptedSize()
    		case !isSourceEncrypted && isTargetEncrypted:
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 120.6K bytes
    - Click Count (0)
Back to Top