Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 74 for elsif (2.3 sec)

  1. src/packaging/common/scripts/postinst

            echo " sudo systemctl start fess.service"
    
        elif command -v chkconfig >/dev/null; then
            echo "### NOT starting on installation, please execute the following statements to configure fess service to start automatically using chkconfig"
            echo " sudo chkconfig --add fess"
            echo "### You can start fess service by executing"
            echo " sudo service fess start"
    
        elif command -v update-rc.d >/dev/null; then
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Dec 10 01:24:02 UTC 2015
    - 3.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfr/examples/mnist/ops_defs.py

        return tf.raw_ops.Relu(features=res)
      elif act == 'RELU6':
        return tf.raw_ops.Relu6(features=res)
      elif act == 'TANH':
        return tf.raw_ops.Tanh(x=res)
      else:
        return res
    
    
    @tf.RegisterGradient('NewConv2D')
    def _conv_add_relu_grad(op: ops.Operation, grad):
      act = op.get_attr('act')
      y = op.outputs[0]
      if act == 'RELU':
        grad = gen_nn_ops.relu_grad(grad, y)
      elif act == 'RELU6':
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 31 20:23:51 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  3. src/main/assemblies/files/generate-thumbnail

        exit 1
      fi
      convert -thumbnail ${image_size} ${tmp_png_file} "${output_file}"
      rm -f ${tmp_png_prefix}*png
    elif [[ x"${cmd_type}" = "ximage" ]] ; then
      check_command convert
      target_file=$(echo "$url" | sed -e "s#^file:/*#/#g")
      convert -thumbnail ${image_size} "${target_file}" "${output_file}"
    elif [[ x"${cmd_type}" = "x" ]] ; then
      echo "No filetype."
      exit 1
    else
      echo "Unsupported type: ${cmd_type}"
      exit 1
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Mon Jun 12 13:13:28 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  4. common/scripts/setup_env.sh

        # Target explicitly set
        :
    elif [[ ${LOCAL_ARCH} == x86_64 ]]; then
        TARGET_ARCH=amd64
    elif [[ ${LOCAL_ARCH} == armv8* ]]; then
        TARGET_ARCH=arm64
    elif [[ ${LOCAL_ARCH} == arm64* ]]; then
        TARGET_ARCH=arm64
    elif [[ ${LOCAL_ARCH} == aarch64* ]]; then
        TARGET_ARCH=arm64
    elif [[ ${LOCAL_ARCH} == armv* ]]; then
        TARGET_ARCH=arm
    elif [[ ${LOCAL_ARCH} == s390x ]]; then
        TARGET_ARCH=s390x
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 14:37:27 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/windows/mkerrors.bash

    			key="${BASH_REMATCH[1]}"
    			value="${BASH_REMATCH[3]}"
    		elif [[ $line =~ ^#define\ +([A-Z0-9_]+k?)\ +([A-Z0-9_]+\()?((0x)?[0-9A-Fa-f]+)L?\)? ]]; then
    			key="${BASH_REMATCH[1]}"
    			value="${BASH_REMATCH[3]}"
    			vtype="${BASH_REMATCH[2]}"
    		elif [[ $line =~ ^#define\ +([A-Z0-9_]+k?)\ +\(\(([A-Z]+)\)((0x)?[0-9A-Fa-f]+)L?\) ]]; then
    			key="${BASH_REMATCH[1]}"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 15 19:02:39 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  6. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/SwiftCompilerDetectingApp.groovy

            return sourceFile('swift', 'main.swift', """
                #if swift(>=5.0)
                    print("Compiled using Swift 5.x compiler")
                #elseif swift(>=4.0)
                    print("Compiled using Swift 4.x compiler")
                #elseif swift(>=3.0)
                    print("Compiled using Swift 3.x compiler")
                #else
                    print("Compiled using unknown compiler")
                #endif
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  7. tools/go-compile-verbose

          base="${f/"$GMODCACHE"\//}"
          mod="$(<<< "$base" cut -d@ -f1)"
          rest="$(<<< "$base" cut -d@ -f2 | cut -d/ -f2-)"
          log "${ls}\t${mod}\t${rest}"
        elif [[ "$f" =~ "$GROOT" ]]; then
            base="${f/"$GROOT"\//}"
            log "${ls}\tstd\t${base}"
        elif [[ "$f" =~ "$ROOT" ]]; then
            base="${f/"$ROOT"\//}"
            log "${ls}\tlocal\t${base}"
        else
            log "${ls}\tunknown\t${f}"
        fi
        ;;
      vet)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 05 18:18:29 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  8. helm/minio/templates/_helper_create_bucket.txt

    			if [ $OBJECTLOCKING = true ]; then
    				echo "Creating bucket with OBJECTLOCKING '$BUCKET'"
    				${MC} mb --with-lock myminio/$BUCKET
    			elif [ $OBJECTLOCKING = false ]; then
    				echo "Creating bucket '$BUCKET'"
    				${MC} mb myminio/$BUCKET
    			fi
    		elif [ -z $OBJECTLOCKING ]; then
    			echo "Creating bucket '$BUCKET'"
    			${MC} mb myminio/$BUCKET
    		else
    			echo "Bucket '$BUCKET' already exists."
    		fi
    	fi
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jan 12 18:18:57 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. src/packaging/common/scripts/prerm

    # Stops the service
    if [ "$STOP_REQUIRED" = "true" ]; then
        echo -n "Stopping fess service..."
        if command -v systemctl >/dev/null; then
            systemctl --no-reload stop fess.service > /dev/null 2>&1 || true
    
        elif [ -x /etc/init.d/fess ]; then
            if command -v invoke-rc.d >/dev/null; then
                invoke-rc.d fess stop || true
            else
                /etc/init.d/fess stop || true
            fi
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Mon Jan 29 07:34:32 UTC 2018
    - 1.7K bytes
    - Viewed (0)
  10. cluster/addons/addon-manager/kube-addons-test.sh

      create_resource_from_string "${limitrange}" "10" "1" "limitrange.yaml" "${TEST_NS}"
      if ! (kubectl get limits/limits -n "${TEST_NS}"); then
        error "failed to create limits w/ reconcile"
        return 1
      elif ! (kubectl get limits/limits -n ${TEST_NS} -o yaml | grep --silent "100m"); then
        error "limits does not match applied config"
        return 1
      fi
    
      # Changes to addons with mode reconcile should be reflected.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 25 02:46:18 UTC 2021
    - 9.3K bytes
    - Viewed (0)
Back to top