Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for ifs (0.03 sec)

  1. common/scripts/gobuild.sh

    GOPKG="$GOPATH/pkg"
    BUILDINFO=${BUILDINFO:-""}
    STATIC=${STATIC:-1}
    LDFLAGS=${LDFLAGS:--extldflags -static}
    GOBUILDFLAGS=${GOBUILDFLAGS:-""}
    # Split GOBUILDFLAGS by spaces into an array called GOBUILDFLAGS_ARRAY.
    IFS=' ' read -r -a GOBUILDFLAGS_ARRAY <<< "$GOBUILDFLAGS"
    
    GCFLAGS=${GCFLAGS:-}
    export CGO_ENABLED=${CGO_ENABLED:-0}
    
    if [[ "${STATIC}" !=  "1" ]];then
        LDFLAGS=""
    fi
    
    # gather buildinfo if not already provided
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Oct 21 14:08:46 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  2. buildscripts/checkdeps.sh

    ##
    ## check_minimum_version() {
    ##     versions=($(echo -e "$1\n$2" | sort -V))
    ##     return [ "$1" == "${versions[0]}" ]
    ## }
    ##
    check_minimum_version() {
    	IFS='.' read -r -a varray1 <<<"$1"
    	IFS='.' read -r -a varray2 <<<"$2"
    
    	for i in "${!varray1[@]}"; do
    		if [[ ${varray1[i]} -lt ${varray2[i]} ]]; then
    			return 0
    		elif [[ ${varray1[i]} -gt ${varray2[i]} ]]; then
    			return 1
    		fi
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jun 13 05:08:11 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. mvnw

      else
        wrapperUrl="https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.3.2/maven-wrapper-3.3.2.jar"
      fi
      while IFS="=" read -r key value; do
        # Remove '\r' from value to allow usage on windows as IFS does not consider '\r' as a separator ( considers space, tab, new line ('\n'), and custom '=' )
        safeValue=$(echo "$value" | tr -d '\r')
        case "$key" in wrapperUrl)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 14 22:24:15 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  4. buildscripts/cross-compile.sh

    }
    
    function _build() {
    	local osarch=$1
    	IFS=/ read -r -a arr <<<"$osarch"
    	os="${arr[0]}"
    	arch="${arr[1]}"
    	package=$(go list -f '{{.ImportPath}}')
    	printf -- "--> %15s:%s\n" "${osarch}" "${package}"
    
    	# go build -trimpath to build the binary.
    	export GOOS=$os
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Dec 19 01:08:22 UTC 2023
    - 958 bytes
    - Viewed (0)
  5. cmd/net.go

    	}
    	return xh.Name, xh.Port.String()
    }
    
    // mustGetLocalIPs returns IPs of local interface
    func mustGetLocalIPs() (ipList []net.IP) {
    	ifs, err := net.Interfaces()
    	logger.FatalIf(err, "Unable to get IP addresses of this host")
    
    	for _, interf := range ifs {
    		addrs, err := interf.Addrs()
    		if err != nil {
    			continue
    		}
    		if runtime.GOOS == "windows" && interf.Flags&net.FlagUp == 0 {
    			continue
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 19 14:34:00 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  6. cmd/erasure-server-pool-rebalance_gen.go

    		return
    	}
    	for zb0001 > 0 {
    		zb0001--
    		field, err = dc.ReadMapKeyPtr()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "ifs":
    			z.InitFreeSpace, err = dc.ReadUint64()
    			if err != nil {
    				err = msgp.WrapError(err, "InitFreeSpace")
    				return
    			}
    		case "ic":
    			z.InitCapacity, err = dc.ReadUint64()
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  7. .teamcity/mvnw

          jarUrl="$MVNW_REPOURL/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar"
        else
          jarUrl="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar"
        fi
        while IFS="=" read key value; do
          case "$key" in (wrapperUrl) jarUrl="$value"; break ;;
          esac
        done < "$BASE_DIR/.mvn/wrapper/maven-wrapper.properties"
        if [ "$MVNW_VERBOSE" = true ]; then
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Feb 26 01:48:39 UTC 2020
    - 9.8K bytes
    - Viewed (0)
  8. cmd/server-main.go

    				defer cancel()
    
    				haddrs, err := globalDNSCache.LookupHost(ctx, host)
    				if err == nil {
    					ip = haddrs[0]
    				}
    			}
    		}
    		ifs, _ := net.Interfaces()
    		for _, interf := range ifs {
    			addrs, err := interf.Addrs()
    			if err == nil {
    				for _, addr := range addrs {
    					if strings.SplitN(addr.String(), "/", 2)[0] == ip {
    						globalInternodeInterface = interf.Name
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 35.2K bytes
    - Viewed (1)
  9. cmd/erasure-server-pool-rebalance.go

    // rebalanceStats contains per-pool rebalance statistics like number of objects,
    // versions and bytes rebalanced out of a pool
    type rebalanceStats struct {
    	InitFreeSpace uint64 `json:"initFreeSpace" msg:"ifs"` // Pool free space at the start of rebalance
    	InitCapacity  uint64 `json:"initCapacity" msg:"ic"`   // Pool capacity at the start of rebalance
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 28.4K bytes
    - Viewed (0)
Back to top