Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 278 for fi (0.32 sec)

  1. cmd/tier-journal.go

    	if jd.file == nil { // already closed
    		return nil
    	}
    
    	var (
    		f   *os.File
    		fi  os.FileInfo
    		err error
    	)
    	// Setting j.file to nil
    	f, jd.file = jd.file, f
    	if fi, err = f.Stat(); err != nil {
    		return err
    	}
    	f.Close() // close before rename()
    
    	// Skip renaming active journal if empty.
    	if fi.Size() == tierJournalHdrLen {
    		return os.Remove(jd.JournalPath())
    	}
    
    Go
    - Registered: Sun Feb 25 19:28:16 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  2. src/packaging/rpm/init.d/fess

    if [ -n $USER ] && [ -z $FESS_USER ] ; then 
       FESS_USER=$USER
    fi
    
    checkJava() {
        if [ -x "$JAVA_HOME/bin/java" ]; then
            JAVA="$JAVA_HOME/bin/java"
        else
            JAVA=`which java`
        fi
    
        if [ ! -x "$JAVA" ]; then
            echo "Could not find any executable java binary. Please install java in your PATH or set JAVA_HOME"
            exit 1
        fi
    }
    
    start() {
        checkJava
        [ -x $exec ] || exit 5
    Shell Script
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Sun Jan 15 06:32:15 GMT 2023
    - 3.7K bytes
    - Viewed (1)
  3. .github/workflows/multipart/migrate.sh

    if [ $failed_count_site1 -ne 0 ]; then
    	echo "failed with multipart on site1 uploads"
    	exit 1
    fi
    
    if [ $failed_count_site2 -ne 0 ]; then
    	echo "failed with multipart on site2 uploads"
    	exit 1
    fi
    
    ./mc cp -r --quiet /usr/bin site1/testbucket/
    
    sleep 5
    
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 15:54:24 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  4. dockerscripts/docker-entrypoint.sh

    #!/bin/sh
    #
    
    # If command starts with an option, prepend minio.
    if [ "${1}" != "minio" ]; then
    	if [ -n "${1}" ]; then
    		set -- minio "$@"
    	fi
    fi
    
    docker_switch_user() {
    	if [ -n "${MINIO_USERNAME}" ] && [ -n "${MINIO_GROUPNAME}" ]; then
    		if [ -n "${MINIO_UID}" ] && [ -n "${MINIO_GID}" ]; then
    			chroot --userspec=${MINIO_UID}:${MINIO_GID} / "$@"
    		else
    			echo "${MINIO_USERNAME}:x:1000:1000:${MINIO_USERNAME}:/:/sbin/nologin" >>/etc/passwd
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Nov 03 21:18:18 GMT 2023
    - 675 bytes
    - Viewed (0)
  5. cmd/erasure-server-pool-rebalance.go

    }
    
    func (rs *rebalanceStats) update(bucket string, fi FileInfo) {
    	if fi.IsLatest {
    		rs.NumObjects++
    	}
    
    	rs.NumVersions++
    	onDiskSz := int64(0)
    	if !fi.Deleted {
    		onDiskSz = fi.Size * int64(fi.Erasure.DataBlocks+fi.Erasure.ParityBlocks) / int64(fi.Erasure.DataBlocks)
    	}
    	rs.Bytes += uint64(onDiskSz)
    	rs.Bucket = bucket
    	rs.Object = fi.Name
    }
    
    type rstats []*rebalanceStats
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 19:29:28 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  6. docs/bucket/replication/setup_2site_existing_replication.sh

    siteb_out=$(cat /tmp/siteb_dirs.txt)
    
    if [ $sitea_count -ne 0 ]; then
    	echo "BUG: expected no 'directory objects' left after deletion: ${sitea_out}"
    	exit 1
    fi
    
    if [ $siteb_count -ne 0 ]; then
    	echo "BUG: expected no 'directory objects' left after deletion: ${siteb_out}"
    	exit 1
    fi
    
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  7. bin/update_crds.sh

        # not an official release or release candidate, so get the commit sha
        SHA=$(echo "${SHA}" | awk -F '-' '{ print $NF }')
      fi
    fi
    
    if [ -z "${SHA}" ]; then
      fail "Unable to retrieve the commit SHA of istio/api from go.mod file. Not updating the CRD file. Please make sure istio/api exists in the Go module.";
    fi
    
    git clone  "https://${REPO}" "${API_TMP}" && cd "${API_TMP}"
    git checkout "${SHA}"
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 14:28:27 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  8. apache-maven/src/assembly/shared/validate

    if [ -z "$MAVEN_SKIP_RC" ] ; then
    
      if [ -f /usr/local/etc/mavenrc ] ; then
        . /usr/local/etc/mavenrc
      fi
    
      if [ -f /etc/mavenrc ] ; then
        . /etc/mavenrc
      fi
    
      if [ -f "$HOME/.mavenrc" ] ; then
        . "$HOME/.mavenrc"
      fi
    
    fi
    
    # OS specific support. $var _must_ be set to either true or false.
    cygwin=false;
    mingw=false;
    case "`uname`" in
      CYGWIN*) cygwin=true;;
    Shell Script
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Dec 21 09:29:19 GMT 2021
    - 1.7K bytes
    - Viewed (0)
  9. src/main/assemblies/files/fess

            if [ -r "$include" ]; then
                . "$include"
                break
            fi
        done
    # ...otherwise, source the specified include.
    elif [ -r "$FESS_INCLUDE" ]; then
        . "$FESS_INCLUDE"
    fi
    
    if [ -x "$JAVA_HOME/bin/java" ]; then
        JAVA="$JAVA_HOME/bin/java"
    else
        JAVA=`which java`
    fi
    
    if [ ! -x "$JAVA" ]; then
    Shell Script
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Sun Jan 15 06:32:15 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  10. bin/build_ztunnel.sh

          BUILD_ZTUNNEL_REPO="${ZTUNNEL_DIR}"
        else
          echo "No directory at ${ZTUNNEL_DIR}"
          return
        fi
      fi
      if [[ "${BUILD_ZTUNNEL_REPO:-}" == "" ]]; then
        return
      fi
    
      if ! which cargo; then
        echo "the rust toolchain (cargo, etc) is required for building ztunnel"
        return 1
      fi
    
      pushd "${BUILD_ZTUNNEL_REPO}"
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 21:46:06 GMT 2024
    - 5K bytes
    - Viewed (0)
Back to top